diff options
Diffstat (limited to 'tksao/frame/fitsmap.C')
-rw-r--r-- | tksao/frame/fitsmap.C | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tksao/frame/fitsmap.C b/tksao/frame/fitsmap.C index 6402510..f8e6609 100644 --- a/tksao/frame/fitsmap.C +++ b/tksao/frame/fitsmap.C @@ -218,7 +218,7 @@ double FitsImage::mapLenFromRef(double dd, Coord::CoordSystem sys, wcsTran(2, in, 1, out); double rr = wcsDistance(out[0], out[1]); - if (wcsIsASkyFrame(ast_)) { + if (wcsIsASkyFrame()) { rr = radToDeg(rr); switch (dist) { case Coord::DEGREE: @@ -313,7 +313,7 @@ double FitsImage::mapLenToRef(double dd, Coord::CoordSystem sys, setWCSSystem(sys); double rdd = dd; - if (wcsIsASkyFrame(ast_)) { + if (wcsIsASkyFrame()) { rdd = degToRad(dd); switch (dist) { case Coord::DEGREE: |