summaryrefslogtreecommitdiff
path: root/src/base/stats
diff options
context:
space:
mode:
Diffstat (limited to 'src/base/stats')
-rw-r--r--src/base/stats/text.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/base/stats/text.cc b/src/base/stats/text.cc
index 3d80e367c..870b16f79 100644
--- a/src/base/stats/text.cc
+++ b/src/base/stats/text.cc
@@ -223,7 +223,7 @@ ScalarPrint::operator()(ostream &stream) const
ccprintf(cdfstr, "%.2f%%", cdf * 100.0);
ccprintf(stream, "%-40s %12s %10s %10s", name,
- ValueToString(value, precision), pdfstr, cdfstr);
+ ValueToString(value, precision), pdfstr.str(), cdfstr.str());
if (descriptions) {
if (!desc.empty())