diff options
author | William Joye <wjoye@cfa.harvard.edu> | 2018-08-10 20:22:57 (GMT) |
---|---|---|
committer | William Joye <wjoye@cfa.harvard.edu> | 2018-08-10 20:22:57 (GMT) |
commit | 5dd5295407412f6f10ea2393972a9698b1f749c6 (patch) | |
tree | 3f69fbd643f2f6cd81b69994c9f4914965ee59c5 /tksao/frame/text.C | |
parent | 217bead9fc8446f8582beb822eacb0c522b08a94 (diff) | |
download | blt-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.C | 6 |
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); |