Update of /cvsroot/boost-sandbox/boost-sandbox/boost/math/distributions
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv22857/boost/math/distributions
Modified Files:
Tag: math_toolkit
pareto.hpp
Log Message:
Adjusted Mac OS error levels.
Fixed up pareto failures.
Added some debugging code to track remaining Mac OS failures.
Index: pareto.hpp
===================================================================
RCS file: /cvsroot/boost-sandbox/boost-sandbox/boost/math/distributions/Attic/pareto.hpp,v
retrieving revision 1.1.2.2
retrieving revision 1.1.2.3
diff -u -d -r1.1.2.2 -r1.1.2.3
--- pareto.hpp 20 Mar 2007 19:18:06 -0000 1.1.2.2
+++ pareto.hpp 11 Apr 2007 11:44:41 -0000 1.1.2.3
@@ -308,6 +308,7 @@
template <class RealType>
inline RealType median(const pareto_distribution<RealType>& dist)
{
+ using namespace std;
return dist.location() * pow(2, (1/dist.shape()));
} // median
@@ -334,6 +335,7 @@
template <class RealType>
inline RealType skewness(const pareto_distribution<RealType>& dist)
{
+ using namespace std;
RealType result;
RealType shape = dist.shape();
if (shape > 3)
|