diff options
author | William Joye <wjoye@cfa.harvard.edu> | 2018-08-28 19:20:36 (GMT) |
---|---|---|
committer | William Joye <wjoye@cfa.harvard.edu> | 2018-08-28 19:20:36 (GMT) |
commit | 0ae906abc35c3c8616800f3cd2ef2ac280459e40 (patch) | |
tree | 73ca8e17d6d8b2c9c6cfad6288a0adb544d43354 /tksao/frame/base.C | |
parent | 72dc39ee1cf577ab13c09c9e065d6584ab0c0752 (diff) | |
download | blt-0ae906abc35c3c8616800f3cd2ef2ac280459e40.zip blt-0ae906abc35c3c8616800f3cd2ef2ac280459e40.tar.gz blt-0ae906abc35c3c8616800f3cd2ef2ac280459e40.tar.bz2 |
fix issues with HPX
Diffstat (limited to 'tksao/frame/base.C')
-rw-r--r-- | tksao/frame/base.C | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tksao/frame/base.C b/tksao/frame/base.C index df69044..c02fa6f 100644 --- a/tksao/frame/base.C +++ b/tksao/frame/base.C @@ -390,12 +390,14 @@ Matrix Base::calcAlignWCS(FitsImage* fits1, FitsImage* fits2, AstFrameSet* wcs1 = (AstFrameSet*)astCopy(fits1->ast_); wcsSystem(wcs1,sys1); - wcsSkyFrame(wcs1,sky); + if (!fits1->hasWCSHPX()) + wcsSkyFrame(wcs1,sky); astInvert(wcs1); AstFrameSet* wcs2 = (AstFrameSet*)astCopy(fits2->ast_); wcsSystem(wcs2,sys2); - wcsSkyFrame(wcs2,sky); + if (!fits2->hasWCSHPX()) + wcsSkyFrame(wcs2,sky); astInvert(wcs2); AstFrameSet* cvt = (AstFrameSet*)astConvert(wcs2, wcs1, ""); |