Skip to content

Commit

Permalink
oops, fix cdInverseAtPixel to ConstantFitsWcs
Browse files Browse the repository at this point in the history
  • Loading branch information
dstndstn committed Mar 19, 2018
1 parent 58a721d commit 13d3239
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tractor/wcs.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ def __init__(self, wcs):
cd = self.wcs.get_cd()
self.cd = np.array([[cd[0], cd[1]], [cd[2], cd[3]]])

self.cd_inverse = np.linalg.inv(cd)
self.cd_inverse = np.linalg.inv(self.cd)
self.pixscale = self.wcs.pixel_scale()

def hashkey(self):
Expand Down

0 comments on commit 13d3239

Please sign in to comment.