|
From: John M. <joh...@us...> - 2007-02-22 16:53:08
|
Update of /cvsroot/boost-sandbox/boost-sandbox/boost/math/distributions/detail In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv28905/boost/math/distributions/detail Modified Files: Tag: math_toolkit derived_accessors.hpp Log Message: A couple of minor using declaration adjustments. Updated docs: adjusted titles and added more information on the kurtosis. Index: derived_accessors.hpp =================================================================== RCS file: /cvsroot/boost-sandbox/boost-sandbox/boost/math/distributions/detail/Attic/derived_accessors.hpp,v retrieving revision 1.1.2.7 retrieving revision 1.1.2.8 diff -u -d -r1.1.2.7 -r1.1.2.8 --- derived_accessors.hpp 7 Feb 2007 16:17:37 -0000 1.1.2.7 +++ derived_accessors.hpp 22 Feb 2007 16:52:36 -0000 1.1.2.8 @@ -85,6 +85,9 @@ typename Distribution::value_type coefficient_of_variation(const Distribution& dist) { typedef typename Distribution::value_type value_type; + + using std::abs; + value_type m = mean(dist); value_type d = standard_deviation(dist); if((abs(m) < 1) && (d > abs(m) * tools::max_value<value_type>())) |