|
Boost Users : |
From: Johan Råde (rade_at_[hidden])
Date: 2007-03-28 09:40:52
I just downloaded the latest version of the Math Toolkit,
and tried a simple example:
#include <boost/math/distributions/students_t.hpp>
boost::math::students_t_distribution<double>(5) dist;
When I compile these two lines of code with MSVC 7.1
I get the following error messages:
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\math\special_functions\math_fwd.hpp(246) : see
declaration of 'boost::math::log1p'
boost\math\special_functions\log1p.hpp(182) : see declaration
of 'boost::math::log1p'
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\math\special_functions\log1p.hpp(183) : fatal error C1903: unable
to recover from previous error(s); stopping compilation
-- Johan Råde
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net