summaryrefslogtreecommitdiffstats
path: root/tksao/frame/annulus.C
diff options
context:
space:
mode:
Diffstat (limited to 'tksao/frame/annulus.C')
-rw-r--r--tksao/frame/annulus.C12
1 files changed, 4 insertions, 8 deletions
diff --git a/tksao/frame/annulus.C b/tksao/frame/annulus.C
index a1881bd..69b64ab 100644
--- a/tksao/frame/annulus.C
+++ b/tksao/frame/annulus.C
@@ -326,7 +326,7 @@ void Annulus::listPros(ostream& str, Coord::CoordSystem sys,
{
Vector vv = ptr->mapFromRef(center,sys);
coord.listProsCoordSystem(str,sys,sky);
- str << "; " << type_ << ' ' << setprecision(8) << vv;
+ str << "; " << type_ << ' ' << vv;
for (int ii=0; ii<numAnnuli_; ii++) {
double rr = ptr->mapLenFromRef(annuli_[ii][0],Coord::IMAGE);
str << ' ' << rr;
@@ -340,25 +340,21 @@ void Annulus::listPros(ostream& str, Coord::CoordSystem sys,
{
Vector vv = ptr->mapFromRef(center,sys,sky);
coord.listProsCoordSystem(str,sys,sky);
- str << "; " << type_ << ' ' << setprecision(10) << setunit('d') << vv
- << setprecision(3) << fixed;
+ str << "; " << type_ << ' ' << setunit('d') << vv;
for (int ii=0; ii<numAnnuli_; ii++) {
double rr = ptr->mapLenFromRef(annuli_[ii][0],sys,Coord::ARCSEC);
str << ' ' << rr << '"';
}
- str.unsetf(ios_base::floatfield);
}
break;
case Coord::SEXAGESIMAL:
listRADECPros(ptr,center,sys,sky,format);
coord.listProsCoordSystem(str,sys,sky);
- str << "; " << type_ << ' ' << ra << ' ' << dec
- << setprecision(3) << fixed;
+ str << "; " << type_ << ' ' << ra << ' ' << dec;
for (int ii=0; ii<numAnnuli_; ii++) {
double rr = ptr->mapLenFromRef(annuli_[ii][0],sys,Coord::ARCSEC);
str << ' ' << rr << '"';
}
- str.unsetf(ios_base::floatfield);
break;
}
}
@@ -373,7 +369,7 @@ void Annulus::listSAOimage(ostream& str, int strip)
listSAOimagePre(str);
Vector vv = ptr->mapFromRef(center,Coord::IMAGE);
- str << type_ << '(' << setprecision(8) << vv;
+ str << type_ << '(' << vv;
for (int ii=0; ii<numAnnuli_; ii++) {
double rr = ptr->mapLenFromRef(annuli_[ii][0],Coord::IMAGE);
str << ',' << rr;