Boost logo

Boost Users :

From: Johan Råde (rade_at_[hidden])
Date: 2008-02-19 12:25:42


I have some trouble getting the Math Toolkit to work.

I downloaded Boost 1.35,
using CVS with the path -d:pserver:anonymous_at_[hidden]:/cvsroot/boost,
as described on the Boost home page.
I selected the HEAD branch.
This version did not include the Math Toolkit.
(Did I download the right version?)
So then I downloaded the Math Toolkit from the Vault,
and combined the two source trees.

I included the header boost/math/distributions/fisher_f.hpp in my code.
I compiled the code with VC 7.1.
I got the following error:

../Boost\boost\math\special_functions\log1p.hpp(195) : error C2785: 'tools::promote_args<T>::type
boost::math::log1p(T)' and 'double boost::math::log1p(double)' have different return types
         ../Boost\boost\math\special_functions\math_fwd.hpp(246) : see declaration of
         ../Boost\boost\math\special_functions\log1p.hpp(182) : see declaration of 'boost::math::log1p'
../Boost\boost\math\special_functions\log1p.hpp(195) : error C2912: explicit specialization; 'double
boost::math::log1p<double>(double)' is not a specialization of a function template
../Boost\boost\math\special_functions\log1p.hpp(183) : fatal error C1903: unable to recover from
previous error(s); stopping compilation

Thank you,

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at