summaryrefslogtreecommitdiffstats
path: root/tksao/frame/line.C
diff options
context:
space:
mode:
authorWilliam Joye <wjoye@cfa.harvard.edu>2018-01-11 22:25:33 (GMT)
committerWilliam Joye <wjoye@cfa.harvard.edu>2018-01-11 22:25:33 (GMT)
commita38fd423435acb45ac17f753578632e41824dec3 (patch)
tree54cc1ef3e11baed58732a837d8663a2e2ba6080a /tksao/frame/line.C
parent6039bd516353b04936a9e22ea7f6cdb8bfbf1795 (diff)
downloadblt-a38fd423435acb45ac17f753578632e41824dec3.zip
blt-a38fd423435acb45ac17f753578632e41824dec3.tar.gz
blt-a38fd423435acb45ac17f753578632e41824dec3.tar.bz2
update precision
Diffstat (limited to 'tksao/frame/line.C')
-rw-r--r--tksao/frame/line.C3
1 files changed, 2 insertions, 1 deletions
diff --git a/tksao/frame/line.C b/tksao/frame/line.C
index daf2817..9f394ce 100644
--- a/tksao/frame/line.C
+++ b/tksao/frame/line.C
@@ -279,7 +279,8 @@ void Line::listSAOtng(ostream& str, Coord::CoordSystem sys, Coord::SkyFrame sky,
{
Vector v1 = ptr->mapFromRef(p1,Coord::IMAGE);
Vector v2 = ptr->mapFromRef(p2,Coord::IMAGE);
- str << type_ << '(' << setprecision(8) << v1 << ',' << v2 << ')';
+ str << type_ << '(' << setprecision(parent->precLinear)
+ << v1 << ',' << v2 << ')';
}
break;
default: