summaryrefslogtreecommitdiffstats
path: root/tksao/frame/text.C
diff options
context:
space:
mode:
authorWilliam Joye <wjoye@cfa.harvard.edu>2018-08-10 20:22:57 (GMT)
committerWilliam Joye <wjoye@cfa.harvard.edu>2018-08-10 20:22:57 (GMT)
commit5dd5295407412f6f10ea2393972a9698b1f749c6 (patch)
tree3f69fbd643f2f6cd81b69994c9f4914965ee59c5 /tksao/frame/text.C
parent217bead9fc8446f8582beb822eacb0c522b08a94 (diff)
downloadblt-5dd5295407412f6f10ea2393972a9698b1f749c6.zip
blt-5dd5295407412f6f10ea2393972a9698b1f749c6.tar.gz
blt-5dd5295407412f6f10ea2393972a9698b1f749c6.tar.bz2
simplify marker code
Diffstat (limited to 'tksao/frame/text.C')
-rw-r--r--tksao/frame/text.C6
1 files changed, 2 insertions, 4 deletions
diff --git a/tksao/frame/text.C b/tksao/frame/text.C
index 59b4f64..7dadf83 100644
--- a/tksao/frame/text.C
+++ b/tksao/frame/text.C
@@ -222,10 +222,8 @@ void Text::list(ostream& str, Coord::CoordSystem sys, Coord::SkyFrame sky,
case Coord::PHYSICAL:
case Coord::DETECTOR:
case Coord::AMPLIFIER:
- {
- Vector vv = ptr->mapFromRef(center,sys);
- str << type_ << '(' << setprecision(parent->precLinear_) << vv << ')';
- }
+ str << type_ << '(' << setprecision(parent->precLinear_)
+ << ptr->mapFromRef(center,sys) << ')';
break;
default:
listWCS(ptr,center,sys,sky,format);