diff options
author | William Joye <wjoye@cfa.harvard.edu> | 2018-07-09 21:27:25 (GMT) |
---|---|---|
committer | William Joye <wjoye@cfa.harvard.edu> | 2018-07-09 21:27:25 (GMT) |
commit | 3c6b25616a5b4c97849f1d0846cae4d66d762b61 (patch) | |
tree | 4c8fd2b25c7f9427ec800c34b927495b875c1f8c /tksao/frame/base.C | |
parent | c0f354fdb8d4001f125e461392ad4c5da7783a0d (diff) | |
download | blt-3c6b25616a5b4c97849f1d0846cae4d66d762b61.zip blt-3c6b25616a5b4c97849f1d0846cae4d66d762b61.tar.gz blt-3c6b25616a5b4c97849f1d0846cae4d66d762b61.tar.bz2 |
simply ast grid code
Diffstat (limited to 'tksao/frame/base.C')
-rw-r--r-- | tksao/frame/base.C | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tksao/frame/base.C b/tksao/frame/base.C index 5f780a3..20ad79f 100644 --- a/tksao/frame/base.C +++ b/tksao/frame/base.C @@ -659,10 +659,10 @@ Matrix Base::calcAlignWCS(FitsImage* fits1, FitsImage* fits2, astBegin; // start memory management fits1->setWCSSkyFrame(sys1, sky); - AstFrameSet* wcs1 = fits1->wcsCopy(); + AstFrameSet* wcs1 = (AstFrameSet*)astCopy(fits1->ast_); astInvert(wcs1); fits2->setWCSSkyFrame(sys2, sky); - AstFrameSet* wcs2 = fits2->wcsCopy(); + AstFrameSet* wcs2 = (AstFrameSet*)astCopy(fits2->ast_); astInvert(wcs2); AstFrameSet* cvt = (AstFrameSet*)astConvert(wcs2, wcs1, ""); |