projects
/
ctsim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use setprecision for std::cout
[ctsim.git]
/
libctsim
/
imagefile.cpp
diff --git
a/libctsim/imagefile.cpp
b/libctsim/imagefile.cpp
index 8710e5a002eae10c85804ec1aee911b7c8e66d22..623b4e32c265de5b75abdc46531bab1088b546ab 100644
(file)
--- a/
libctsim/imagefile.cpp
+++ b/
libctsim/imagefile.cpp
@@
-264,6
+264,7
@@
ImageFile::printStatistics (std::ostream& os) const
if (isComplex())
os << "Real Component Statistics" << std::endl;
+ os << std::setprecision(7);
os << " min: " << min << std::endl;
os << " max: " << max << std::endl;
os << " mean: " << mean << std::endl;