Commit Graph

2 Commits

Author SHA1 Message Date
Tom Henderson
6e3b4d416e stats: Increase floating-point arithmetic tolerance in a test
The 'average' test suite, which used a constant TOLERANCE value of
1e-14 to check the MinMaxAvgTotalCalculator class computations,
started to fail on a 32-bit Fedora 24 test machine because the
arithmetic slightly exceeded a difference of 1e-14.  This patch
doubles the tolerance to 2e-14 to make this test pass again.
2016-11-27 07:55:09 -08:00
Tom Henderson
2180f8ad5d move average.h from tools to stats module 2013-06-18 13:42:57 -07:00