Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r65516 - trunk/boost/math/distributions
From: rwgk_at_[hidden]
Date: 2010-09-21 12:03:24


Author: rwgk
Date: 2010-09-21 12:03:23 EDT (Tue, 21 Sep 2010)
New Revision: 65516
URL: http://svn.boost.org/trac/boost/changeset/65516

Log:
boost/math/distributions/inverse_chi_squared.hpp: bug fix (compilation errors with g++ 4)
Text files modified:
   trunk/boost/math/distributions/inverse_chi_squared.hpp | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: trunk/boost/math/distributions/inverse_chi_squared.hpp
==============================================================================
--- trunk/boost/math/distributions/inverse_chi_squared.hpp (original)
+++ trunk/boost/math/distributions/inverse_chi_squared.hpp 2010-09-21 12:03:23 EDT (Tue, 21 Sep 2010)
@@ -202,7 +202,7 @@
    // Error check:
    RealType error_result;
    if(false == detail::check_df(
- function, degrees_of_freedom, &error_result, Policy()))
+ function, df, &error_result, Policy()))
       return error_result;
 
    if((x < 0) || !(boost::math::isfinite)(x))


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk