From 17023dfb7146b41720b150b8c1d59e1c36357f88 Mon Sep 17 00:00:00 2001 From: William Joye Date: Fri, 26 Jan 2018 11:27:53 -0500 Subject: minor --- tksao/frame/fitsmap.C | 8 +++----- 1 file 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, -- cgit v0.12