diff options
Diffstat (limited to 'tksao/frame/fitsmap.C')
-rw-r--r-- | tksao/frame/fitsmap.C | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tksao/frame/fitsmap.C b/tksao/frame/fitsmap.C index ecf425a..756b227 100644 --- a/tksao/frame/fitsmap.C +++ b/tksao/frame/fitsmap.C @@ -308,7 +308,7 @@ double FitsImage::mapLenToRef(double dd, Coord::CoordSystem sys, return dd*(detectorToPhysical * physicalToRef)[1].length(); default: { - if (!hasWCS(sys)) + if (!hasWCS(sys) || !astInv_) return 0; astClearStatus; // just to make sure |