summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWilliam Joye <wjoye@cfa.harvard.edu>2017-11-29 19:02:27 (GMT)
committerWilliam Joye <wjoye@cfa.harvard.edu>2017-11-29 19:02:27 (GMT)
commit369a23ad1f0fc25936c3d9694120b9f6e8b566d3 (patch)
tree1930af125fdaad94aa4d690a02e5388eb16cefe8
parent917cf0a366295e1e99ebf0fd46532d21b56dd9ba (diff)
downloadblt-369a23ad1f0fc25936c3d9694120b9f6e8b566d3.zip
blt-369a23ad1f0fc25936c3d9694120b9f6e8b566d3.tar.gz
blt-369a23ad1f0fc25936c3d9694120b9f6e8b566d3.tar.bz2
update AST WCS
-rw-r--r--tksao/frame/frame3dbase.C2
-rw-r--r--tksao/frame/frame3dbase.h2
-rw-r--r--tksao/frame/framebase.C4
-rw-r--r--tksao/frame/framebase.h2
4 files changed, 5 insertions, 5 deletions
diff --git a/tksao/frame/frame3dbase.C b/tksao/frame/frame3dbase.C
index 3727e60..b977ecd 100644
--- a/tksao/frame/frame3dbase.C
+++ b/tksao/frame/frame3dbase.C
@@ -155,7 +155,7 @@ void Frame3dBase::getInfoCmd(const Vector& vv, Coord::InternalSystem ref,
getInfoClearValue(var);
}
-void Frame3dBase::getInfoWCS(char* var, const Vector3d& rr, FitsImage* ptr,
+void Frame3dBase::getInfoWCS(char* var, Vector3d& rr, FitsImage* ptr,
FitsImage* sptr)
{
Vector img = Vector(rr) * sptr->refToData;
diff --git a/tksao/frame/frame3dbase.h b/tksao/frame/frame3dbase.h
index 0b9180b..2d2312d 100644
--- a/tksao/frame/frame3dbase.h
+++ b/tksao/frame/frame3dbase.h
@@ -93,7 +93,7 @@ class Frame3dBase : public Base {
void coordToTclArray(FitsImage*, const Vector3d&, Coord::CoordSystem,
const char*, const char*);
- void getInfoWCS(char*, const Vector3d&, FitsImage*, FitsImage*);
+ void getInfoWCS(char*, Vector3d&, FitsImage*, FitsImage*);
protected:
double calcZoomPanner();
diff --git a/tksao/frame/framebase.C b/tksao/frame/framebase.C
index 04861fb..e2e1400 100644
--- a/tksao/frame/framebase.C
+++ b/tksao/frame/framebase.C
@@ -133,10 +133,10 @@ void FrameBase::getInfoCmd(const Vector& vv, Coord::InternalSystem ref, char* va
getInfoClearValue(var);
}
-void FrameBase::getInfoWCS(char* var, const Vector& rr, FitsImage* ptr,
+void FrameBase::getInfoWCS(char* var, Vector& rr, FitsImage* ptr,
FitsImage* sptr)
{
- Vector img = Vector(rr) * sptr->refToData;
+ Vector img = rr * sptr->refToData;
for (int ii=0; ii<MULTWCS; ii++) {
char buf[64];
diff --git a/tksao/frame/framebase.h b/tksao/frame/framebase.h
index 6b6ddd4..529b5fc 100644
--- a/tksao/frame/framebase.h
+++ b/tksao/frame/framebase.h
@@ -23,7 +23,7 @@ protected:
void coordToTclArray(FitsImage*, const Vector&, Coord::CoordSystem,
const char*, const char*);
- void getInfoWCS(char*, const Vector&, FitsImage*, FitsImage*);
+ void getInfoWCS(char*, Vector&, FitsImage*, FitsImage*);
protected:
double calcZoomPanner();