summaryrefslogtreecommitdiffstats
path: root/tksao
diff options
context:
space:
mode:
authorWilliam Joye <wjoye@cfa.harvard.edu>2017-12-20 18:06:32 (GMT)
committerWilliam Joye <wjoye@cfa.harvard.edu>2017-12-20 18:06:32 (GMT)
commit37ef25027bd92afe32d22d324d65e428d8543eaf (patch)
treed27709ae707a7dde3887769e613d7c6471a57ce1 /tksao
parent2d56cdf9d3e533acbd3f7118f04f5855ac1aea68 (diff)
downloadblt-37ef25027bd92afe32d22d324d65e428d8543eaf.zip
blt-37ef25027bd92afe32d22d324d65e428d8543eaf.tar.gz
blt-37ef25027bd92afe32d22d324d65e428d8543eaf.tar.bz2
upgrade AST
Diffstat (limited to 'tksao')
-rw-r--r--tksao/frame/base.C10
1 files changed, 5 insertions, 5 deletions
diff --git a/tksao/frame/base.C b/tksao/frame/base.C
index 9241265..abace99 100644
--- a/tksao/frame/base.C
+++ b/tksao/frame/base.C
@@ -676,14 +676,14 @@ Matrix Base::calcAlignWCS(FitsImage* fits1, FitsImage* fits2,
double ll[4];
ll[0] =ll2[0];
ll[1] =ll2[1];
- ll[2] =1;
- ll[3] =1;
+ ll[2] =context->slice(2);
+ ll[3] =context->slice(3);
double ur[4];
ur[0] =ur2[0];
ur[1] =ur2[1];
- ur[2] =1;
- ur[3] =1;
-
+ ur[2] =context->slice(2);
+ ur[3] =context->slice(3);
+
int ss = (naxes1+1)*naxes2;
double* fit = new double[ss];
double tol = 1;