summaryrefslogtreecommitdiff
path: root/base/statistics.cc
diff options
context:
space:
mode:
Diffstat (limited to 'base/statistics.cc')
-rw-r--r--base/statistics.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/base/statistics.cc b/base/statistics.cc
index 94b8852f8..737f8f73b 100644
--- a/base/statistics.cc
+++ b/base/statistics.cc
@@ -748,7 +748,7 @@ VectorDisplay(std::ostream &stream,
_pdf = vec[i] / _total;
_cdf += _pdf;
} else {
- _pdf = _cdf = NAN;
+ _pdf = _cdf = 0.0;
}
if (!(myflags & cdf)) {
PrintOne(stream, vec[i], subname, subdesc, myprecision,