projects
/
platform
/
upstream
/
boost.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Imported Upstream version 1.57.0
[platform/upstream/boost.git]
/
boost
/
accumulators
/
statistics
/
error_of_mean.hpp
diff --git
a/boost/accumulators/statistics/error_of_mean.hpp
b/boost/accumulators/statistics/error_of_mean.hpp
index
9451d40
..
7cd923d
100644
(file)
--- 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
: 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) {}
error_of_mean_impl(dont_care) {}
@@
-38,7
+38,7
@@
namespace impl
{
using namespace std;
extractor<Variance> const variance = {};
{
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));
}
};
}
};