diff options
author | Lisa Hsu <hsul@eecs.umich.edu> | 2003-11-23 12:57:16 -0500 |
---|---|---|
committer | Lisa Hsu <hsul@eecs.umich.edu> | 2003-11-23 12:57:16 -0500 |
commit | c02fc7e99f85ce50000a322ff50294bfbbfe44de (patch) | |
tree | 318a312d1f46ae6b73010f953e535cce3cf7dcad /base | |
parent | 55a7490a11534559498dcd1f82674bc3ca20dd99 (diff) | |
download | gem5-c02fc7e99f85ce50000a322ff50294bfbbfe44de.tar.xz |
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
Diffstat (limited to 'base')
-rw-r--r-- | base/statistics.cc | 2 |
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, |