get rid of the errors from simple-test1 and test1-6
base/statistics.cc: fix how some stats are printed to get rid of some of those pesky regression errors. this does not fix all of them, just the unimportant ones. --HG-- extra : convert_revision : 247675fd5bbb47e29c8c077a8d2b2996be1b7072
This commit is contained in:
parent
55a7490a11
commit
c02fc7e99f
1 changed files with 1 additions and 1 deletions
|
@ -748,7 +748,7 @@ VectorDisplay(std::ostream &stream,
|
||||||
_pdf = vec[i] / _total;
|
_pdf = vec[i] / _total;
|
||||||
_cdf += _pdf;
|
_cdf += _pdf;
|
||||||
} else {
|
} else {
|
||||||
_pdf = _cdf = NAN;
|
_pdf = _cdf = 0.0;
|
||||||
}
|
}
|
||||||
if (!(myflags & cdf)) {
|
if (!(myflags & cdf)) {
|
||||||
PrintOne(stream, vec[i], subname, subdesc, myprecision,
|
PrintOne(stream, vec[i], subname, subdesc, myprecision,
|
||||||
|
|
Loading…
Reference in a new issue