Closed beckermr closed 3 years ago
cc @esheldon for review!
I'm trying to follow what triggers this and what's the manifestation of the bug...
Just plug any DECam finalcut image into the WCS class and try to get the inverse with find=False.
The manifestation is that the output coordinates in x,y are manifestly incorrect. It always returns crpix!
And with this change it will Raise
instead?
Nope. It correctly computes the inverse lazily and returns the right coordinates.
Then I clearly completely misunderstood the original code. So this is fine.
This PR fixes a bug where upon read the lazy inverse was being marked as computed even if it was not.
closes #68