summaryrefslogtreecommitdiffstats
path: root/tksao/frame/fitsimage.h
diff options
context:
space:
mode:
authorWilliam Joye <wjoye@cfa.harvard.edu>2017-12-07 22:08:42 (GMT)
committerWilliam Joye <wjoye@cfa.harvard.edu>2017-12-07 22:08:42 (GMT)
commit5606c9ac2deadb681b5aaf91f9045b646d9f2729 (patch)
tree99bebd97e86803ef020735ae1af3d0da575dd037 /tksao/frame/fitsimage.h
parent3fbb8a09c8befe6cc8678961155dfcd6447907b5 (diff)
downloadblt-5606c9ac2deadb681b5aaf91f9045b646d9f2729.zip
blt-5606c9ac2deadb681b5aaf91f9045b646d9f2729.tar.gz
blt-5606c9ac2deadb681b5aaf91f9045b646d9f2729.tar.bz2
update AST WCS
Diffstat (limited to 'tksao/frame/fitsimage.h')
-rw-r--r--tksao/frame/fitsimage.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/tksao/frame/fitsimage.h b/tksao/frame/fitsimage.h
index 2181a57..5b79cba 100644
--- a/tksao/frame/fitsimage.h
+++ b/tksao/frame/fitsimage.h
@@ -116,7 +116,8 @@ class FitsImage {
AstFrameSet** ast_; // ast frameset;
WCSx** wcsx_; // xth Axis WCS
#else
- AstFrameSet* newast_; // ast frameset;
+ int* wcs_;
+ AstFrameSet* ast_; // ast frameset;
#endif
FitsHead* wcsHeader_; // alt wcs header
FitsHead* altHeader_; // wcs header for wfpc2
@@ -427,7 +428,7 @@ class FitsImage {
AstFrameSet* getAST(Coord::CoordSystem sys)
{return (ast_ && ast_[sys-Coord::WCS]) ? ast_[sys-Coord::WCS] : NULL;}
#else
- AstFrameSet* getAST(Coord::CoordSystem sys) {return newast_;}
+ AstFrameSet* getAST(Coord::CoordSystem sys) {return ast_;}
#endif
int hasWCS(Coord::CoordSystem);