diff options
-rw-r--r-- | hstwcs/dgeo.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hstwcs/dgeo.py b/hstwcs/dgeo.py index 70e6a98..4ab9079 100644 --- a/hstwcs/dgeo.py +++ b/hstwcs/dgeo.py @@ -149,7 +149,7 @@ class DGEOCorr(object): """ coeffs = cls.getCoeffs(header) idcscale = header['IDCSCALE'] - sclcoeffs = numpy.linalg.inv(coeffs)/idcscale + sclcoeffs = numpy.linalg.inv(coeffs/idcscale) ndx, ndy = numpy.dot(sclcoeffs, [dx.ravel(), dy.ravel()]) ndx.shape = dx.shape ndy.shape=dy.shape |