diff options
author | William Joye <wjoye@cfa.harvard.edu> | 2018-01-26 16:27:53 (GMT) |
---|---|---|
committer | William Joye <wjoye@cfa.harvard.edu> | 2018-01-26 16:27:53 (GMT) |
commit | 17023dfb7146b41720b150b8c1d59e1c36357f88 (patch) | |
tree | 7f613fe4ae4490f7ab63ca451b105adbf2959610 /tksao | |
parent | 9b9d4cdc460a4fab20ce36cc53a79c3e42a6fdc5 (diff) | |
download | blt-17023dfb7146b41720b150b8c1d59e1c36357f88.zip blt-17023dfb7146b41720b150b8c1d59e1c36357f88.tar.gz blt-17023dfb7146b41720b150b8c1d59e1c36357f88.tar.bz2 |
minor
Diffstat (limited to 'tksao')
-rw-r--r-- | tksao/frame/fitsmap.C | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/tksao/frame/fitsmap.C b/tksao/frame/fitsmap.C index 756b227..a4ff6e4 100644 --- a/tksao/frame/fitsmap.C +++ b/tksao/frame/fitsmap.C @@ -31,12 +31,10 @@ void FitsImage::mapFromRef(const Vector& vv, Coord::CoordSystem out, Coord::SkyFrame sky, Coord::SkyFormat format, char* buf) { - if (hasWCS(out)) { + if (hasWCS(out)) pix2wcs(vv * refToImage, out, sky, format, buf); - return; - } - - strcpy(buf,""); + else + strcpy(buf,""); } Vector FitsImage::mapToRef(const Vector& vv, Coord::CoordSystem in, |