summaryrefslogtreecommitdiffstats
path: root/tksao/frame/grid25d.C
diff options
context:
space:
mode:
authorWilliam Joye <wjoye@cfa.harvard.edu>2018-07-09 21:27:25 (GMT)
committerWilliam Joye <wjoye@cfa.harvard.edu>2018-07-09 21:27:25 (GMT)
commit3c6b25616a5b4c97849f1d0846cae4d66d762b61 (patch)
tree4c8fd2b25c7f9427ec800c34b927495b875c1f8c /tksao/frame/grid25d.C
parentc0f354fdb8d4001f125e461392ad4c5da7783a0d (diff)
downloadblt-3c6b25616a5b4c97849f1d0846cae4d66d762b61.zip
blt-3c6b25616a5b4c97849f1d0846cae4d66d762b61.tar.gz
blt-3c6b25616a5b4c97849f1d0846cae4d66d762b61.tar.bz2
simply ast grid code
Diffstat (limited to 'tksao/frame/grid25d.C')
-rw-r--r--tksao/frame/grid25d.C4
1 files changed, 2 insertions, 2 deletions
diff --git a/tksao/frame/grid25d.C b/tksao/frame/grid25d.C
index fbf0f28..6b46d1a 100644
--- a/tksao/frame/grid25d.C
+++ b/tksao/frame/grid25d.C
@@ -59,7 +59,7 @@ int Grid25d::doit(RenderMode rm)
{
// set desired skyformat
#ifndef NEWWCS
- AstFrameSet* ast = (AstFrameSet*)astCopy(fits->getAST(system_));
+ AstFrameSet* ast = (AstFrameSet*)astCopy(fits->ast_[system_-Coord::WCS]);
fits->setWCSSkyFrame(ast, sky_);
#else
if (!fits->astInv()) {
@@ -68,7 +68,7 @@ int Grid25d::doit(RenderMode rm)
}
fits->setWCSSkyFrame(system_, sky_);
- AstFrameSet* ast = fits->wcsCopy();
+ AstFrameSet* ast = (AstFrameSet*)astCopy(fits->ast_);
int naxes = astGetI(ast,"Naxes");
switch (naxes) {