Leaklens

astropy__astropy-13579

Inconsistent behavior of `world_to_pixel` in `SlicedLowLevelWCS`

Verdict: the fix is stated in the issue (Tier A).

the value of `1` here is incorrect, it needs to be the world coordinate corresponding to the pixel value in the slice so that the inverse transform works as expected.

The text states the fix: “the value of `1` here is incorrect, it needs to be the world coordinate corresponding to the pixel value in the slice so that the inverse transform works as expected.”

All SWE-bench Verified tasks · more astropy/astropy tasks · How the check works