From 369a23ad1f0fc25936c3d9694120b9f6e8b566d3 Mon Sep 17 00:00:00 2001
From: William Joye <wjoye@cfa.harvard.edu>
Date: Wed, 29 Nov 2017 14:02:27 -0500
Subject: update AST WCS

---
 tksao/frame/frame3dbase.C | 2 +-
 tksao/frame/frame3dbase.h | 2 +-
 tksao/frame/framebase.C   | 4 ++--
 tksao/frame/framebase.h   | 2 +-
 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();
-- 
cgit v0.12