summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--base/statistics.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/base/statistics.cc b/base/statistics.cc
index 6593451c4..cde98d861 100644
--- a/base/statistics.cc
+++ b/base/statistics.cc
@@ -846,7 +846,7 @@ DistDisplay(ostream &stream, const string &name, const string &desc,
for (int i = 0; i < size; ++i) {
if (flags & nozero && vec[i] == 0.0 ||
flags & nonan && isnan(vec[i]))
- return;
+ continue;
_min = i * bucket_size + min;
_pdf = vec[i] / total * 100.0;