summaryrefslogtreecommitdiff
path: root/base/stats/text.cc
diff options
context:
space:
mode:
Diffstat (limited to 'base/stats/text.cc')
-rw-r--r--base/stats/text.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/base/stats/text.cc b/base/stats/text.cc
index f7e82a30f..8cc5ff65e 100644
--- a/base/stats/text.cc
+++ b/base/stats/text.cc
@@ -126,7 +126,7 @@ Text::output()
using namespace Database;
ccprintf(*stream, "\n---------- Begin Simulation Statistics ----------\n");
- if (bins().empty()) {
+ if (bins().empty() || bins().size() == 1) {
stat_list_t::const_iterator i, end = stats().end();
for (i = stats().begin(); i != end; ++i)
(*i)->visit(*this);