STATS: Fix off-by-one error in distributions.
Review Request #203 - Created Aug. 18, 2010 and submitted
| Information | |
|---|---|
| Ali Saidi | |
| gem5 | |
| Reviewers | |
| Default | |
STATS: Fix off-by-one error in distributions. bkt size isn't evenly divisible by max-min and it would round down, it's possible to sample a distribution and have no place to put the sample. When this case occured the simulator would assert.
please change STATS: to stats: in the commit message.
-
src/base/statistics.hh (Diff revision 1) -
Can you remove the space before the final ). I know you didn't add it.
