Subject: Re: [Boost-bugs] [Boost C++ Libraries] #9087: [boost math] error: no operator "=" matches these operands in roots.hpp (297)
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-09-12 20:22:31
#9087: [boost math] error: no operator "=" matches these operands in roots.hpp
(297)
--------------------------------------+-------------------------
Reporter: tan@⦠| Owner: johnmaddock
Type: Support Requests | Status: closed
Milestone: Boost 1.55.0 | Component: math
Version: Boost Development Trunk | Severity: Showstopper
Resolution: fixed | Keywords:
--------------------------------------+-------------------------
Comment (by anonymous):
Dear John,
Thank you very much for the information. I actually have another issue
(see code below) using -std=c++11 on the non_central_chi_squared:
terminate called after throwing an instance of
'boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::math::evaluation_error>
>'
what(): Error in function
boost::math::tools::bracket_and_solve_root<e>: Unable to bracket root,
last nearest value was 1.65974387253907228676e-331
Abort (core dumped)
which I built with Intel 13 and GCC 4.6.3:
{{{
icpc --version
icpc (ICC) 13.1.3 20130607
g++ --version
g++ (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3
}}}
The current trunk (revision 85656) also fails ...
5.39163355658688321214e+330 was the last nearest value though.
So I decided to go ahead and upgrade to Intel 14 (again) and the GCC
toolchain (to 4.7):
{{{
icpc --version
icpc (ICC) 14.0.0 20130728
g++ --version
g++ (Ubuntu/Linaro 4.7.3-2ubuntu1~12.04) 4.7.3
}}}
I have no problem building my original case now. However, I am unable to
link ... got this "undefined reference to `__builtin_signbit'" message.
Interestingly, the example
{{{
#include <cstdio>
#include <boost/math/distributions.hpp>
int main()
{
boost::math::non_central_chi_squared_distribution<>
_dist( 3.0, 1.0 );
std::printf( " \nquantile(non_central_chi_squared(3,1),0.1) = %f\n",
boost::math::quantile( _dist, 0.1 ) );
return 0;
}
}}}
which gave me that runtime exception above, also fails to build with the
same message: undefined reference to `__builtin_signbit'.
Do you have any insight here? Maybe this is a problem with the Intel
compiler again. :(
With best regards,
HS
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/9087#comment:5> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:14 UTC