diff options
Diffstat (limited to 'boost/accumulators/statistics/error_of_mean.hpp')
-rw-r--r-- | boost/accumulators/statistics/error_of_mean.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/boost/accumulators/statistics/error_of_mean.hpp b/boost/accumulators/statistics/error_of_mean.hpp index 9451d40f73..7cd923d5f4 100644 --- a/boost/accumulators/statistics/error_of_mean.hpp +++ b/boost/accumulators/statistics/error_of_mean.hpp @@ -29,7 +29,7 @@ namespace impl : accumulator_base { // for boost::result_of - typedef typename numeric::functional::average<Sample, std::size_t>::result_type result_type; + typedef typename numeric::functional::fdiv<Sample, std::size_t>::result_type result_type; error_of_mean_impl(dont_care) {} @@ -38,7 +38,7 @@ namespace impl { using namespace std; extractor<Variance> const variance = {}; - return sqrt(numeric::average(variance(args), count(args) - 1)); + return sqrt(numeric::fdiv(variance(args), count(args) - 1)); } }; |