diff options
author | William Joye <wjoye@cfa.harvard.edu> | 2017-12-12 18:36:48 (GMT) |
---|---|---|
committer | William Joye <wjoye@cfa.harvard.edu> | 2017-12-12 18:36:48 (GMT) |
commit | fef4f2b298e7cb32904129ea6044728a67ed2fe0 (patch) | |
tree | a4eed994454b9467e2b55837c1a66a6b1d3f9767 /tksao/frame/grid25d.C | |
parent | a5640dad083deca5300b21c823107fc106029421 (diff) | |
download | blt-fef4f2b298e7cb32904129ea6044728a67ed2fe0.zip blt-fef4f2b298e7cb32904129ea6044728a67ed2fe0.tar.gz blt-fef4f2b298e7cb32904129ea6044728a67ed2fe0.tar.bz2 |
upgrade AST
Diffstat (limited to 'tksao/frame/grid25d.C')
-rw-r--r-- | tksao/frame/grid25d.C | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/tksao/frame/grid25d.C b/tksao/frame/grid25d.C index eb051ca..456adcf 100644 --- a/tksao/frame/grid25d.C +++ b/tksao/frame/grid25d.C @@ -57,14 +57,15 @@ int Grid25d::doit(RenderMode rm) break; default: { - AstFrameSet* ast = (AstFrameSet*)astCopy(fits->getAST(system_)); // set desired skyformat #ifndef NEWWCS + AstFrameSet* ast = (AstFrameSet*)astCopy(fits->getAST(system_)); fits->setWCSSkyFrame(ast, sky_); #else - fits->setWCSSystem(ast, system_); - fits->setWCSSkyFrame(ast, sky_); + fits->setWCSSystem(system_); + fits->setWCSSkyFrame(fits->getAST(system_), sky_); + AstFrameSet* ast = (AstFrameSet*)astCopy(fits->getAST(system_)); int naxes = astGetI(ast,"Naxes"); switch (naxes) { |