Opened 12 years ago
Closed 12 years ago
#5360 closed Bugs (invalid)
Missing full qualification in boost::math bessel special functions
Reported by: | Joel Falcou | Owned by: | John Maddock |
---|---|---|---|
Milestone: | Boost 1.47.0 | Component: | math |
Version: | Boost 1.46.0 | Severity: | Problem |
Keywords: | Cc: |
Description
On Ubuntu 10.10 64 bits, the attached code fails to compile. The error is :
/usr/include/boost/math/special_functions/detail/bessel_jy.hpp:192: error: ‘(boost::math::policies::discrete_quantile_policy_type)0u’ cannot be used as a function
Looks like the following piece of code
*p = real(f); *q = imag(f);
is not fully qualified enough.
Changing them to std::real/std::imag fix the problem tough.
Attachments (1)
Change History (2)
by , 12 years ago
comment:1 by , 12 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
OK, PEBCAK errors. I close this
Note:
See TracTickets
for help on using tickets.
Small repro for boost math failure