summaryrefslogtreecommitdiffstats
path: root/tksao/frame/base.C
diff options
context:
space:
mode:
Diffstat (limited to 'tksao/frame/base.C')
-rw-r--r--tksao/frame/base.C4
1 files changed, 2 insertions, 2 deletions
diff --git a/tksao/frame/base.C b/tksao/frame/base.C
index 858d7f0..e09a8a7 100644
--- a/tksao/frame/base.C
+++ b/tksao/frame/base.C
@@ -649,11 +649,11 @@ Matrix Base::calcAlignWCS(FitsImage* fits1, FitsImage* fits2,
astClearStatus; // just to make sure
astBegin; // start memory management
- fits1->setWCSSystem(sys1);
+ fits1->setWCSSkyFrame(sys1, sky);
AstFrameSet* wcs1 = fits1->wcsCopy();
astInvert(wcs1);
- fits2->setWCSSystem(sys2);
+ fits2->setWCSSkyFrame(sys2, sky);
AstFrameSet* wcs2 = fits2->wcsCopy();
astInvert(wcs2);