diff options
author | William Joye <wjoye@cfa.harvard.edu> | 2018-01-12 18:23:23 (GMT) |
---|---|---|
committer | William Joye <wjoye@cfa.harvard.edu> | 2018-01-12 18:23:23 (GMT) |
commit | 8142cb4cc65d4501fdcd8c948986cff3e9d45036 (patch) | |
tree | bf0ff25aa9975b5c0d58567caa5c5fbcab600d5d /tksao/frame/marker.C | |
parent | 10e68f58b7f7d74c4ba02cb0561e2c1d59f6d92b (diff) | |
download | blt-8142cb4cc65d4501fdcd8c948986cff3e9d45036.zip blt-8142cb4cc65d4501fdcd8c948986cff3e9d45036.tar.gz blt-8142cb4cc65d4501fdcd8c948986cff3e9d45036.tar.bz2 |
add precision command tests
Diffstat (limited to 'tksao/frame/marker.C')
-rw-r--r-- | tksao/frame/marker.C | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tksao/frame/marker.C b/tksao/frame/marker.C index e0c8a19..9cd3fd8 100644 --- a/tksao/frame/marker.C +++ b/tksao/frame/marker.C @@ -1623,7 +1623,7 @@ void Marker::listXY(ostream& str, Coord::CoordSystem sys, Coord::SkyFrame sky, case Coord::PHYSICAL: case Coord::DETECTOR: case Coord::AMPLIFIER: - str << setprecision(parent->precLinear) << ptr->mapFromRef(center,sys); + str << setprecision(parent->precLinear_) << ptr->mapFromRef(center,sys); break; default: if (ptr->hasWCS(sys)) { @@ -1632,7 +1632,7 @@ void Marker::listXY(ostream& str, Coord::CoordSystem sys, Coord::SkyFrame sky, str << ra << ' ' << dec; } else - str << setprecision(parent->precLinear) << ptr->mapFromRef(center,sys); + str << setprecision(parent->precLinear_) << ptr->mapFromRef(center,sys); } break; } @@ -1688,7 +1688,7 @@ void Marker::XMLRow(XMLColName col, double val, int prec) void Marker::XMLRowARCSEC(XMLColName col, double val) { ostringstream str; - str << setprecision(parent->precArcsec) << fixed << val << ends; + str << setprecision(parent->precArcsec_) << fixed << val << ends; if (XMLCol[col]) delete [] XMLCol[col]; @@ -1715,7 +1715,7 @@ void Marker::XMLRow(XMLColName col, double* val, int cnt, int prec) void Marker::XMLRowARCSEC(XMLColName col, double* val, int cnt) { ostringstream str; - str << setprecision(parent->precArcsec) << fixed; + str << setprecision(parent->precArcsec_) << fixed; for (int ii=0; ii<cnt; ii++) { str << val[ii]; if (ii!=cnt-1) |