[math.special_functions] broken in trunk

it seems, there is a problem in boost.math in trunk. the boost.heap testsuite originally used boost.random, but the test farm reports some issues: In file included from ../boost/math/special_functions.hpp:32, from ../boost/random/generate_canonical.hpp:22, from ../boost/random.hpp:52, from ../libs/heap/test/mutable_heap_tests.hpp:1, from ../libs/heap/test/fibonacci_heap_test.cpp:12: ../boost/math/special_functions/expint.hpp: In function ???void boost::math::detail::expint_i_imp_113a(T&, const T&)???: ../boost/math/special_functions/expint.hpp:1028: error: expected primary- expression before ???(??? token (compare http://tinyurl.com/bqfputx) for now, i've reverted to the libc random() function to work around this issue, but it would be great, if someone with insights in boost.math could have a look. thanks, tim

it seems, there is a problem in boost.math in trunk. the boost.heap testsuite originally used boost.random, but the test farm reports some issues:
In file included from ../boost/math/special_functions.hpp:32, from ../boost/random/generate_canonical.hpp:22, from ../boost/random.hpp:52, from ../libs/heap/test/mutable_heap_tests.hpp:1, from ../libs/heap/test/fibonacci_heap_test.cpp:12: ../boost/math/special_functions/expint.hpp: In function ???void boost::math::detail::expint_i_imp_113a(T&, const T&)???: ../boost/math/special_functions/expint.hpp:1028: error: expected primary- expression before ???(??? token
(compare http://tinyurl.com/bqfputx)
for now, i've reverted to the libc random() function to work around this issue, but it would be great, if someone with insights in boost.math could have a look.
You don't say what the compiler/platform is, but I think this was caused by some missing using declarations after I refactored the code. Hopefully now fixed in Trunk. BTW, I'm not sure why random would be including that particular header - I don't see anything in there that's using any Boost.Math code, and it's a big #include to bring in the whole lot from that "include everything" header.... HTH, John.

it seems, there is a problem in boost.math in trunk. the boost.heap testsuite originally used boost.random, but the test farm reports some issues:
In file included from ../boost/math/special_functions.hpp:32,
from ../boost/random/generate_canonical.hpp: 22, from ../boost/random.hpp:52, from ../libs/heap/test/mutable_heap_tests.hp p:1,
from ../libs/heap/test/fibonacci_heap_test.cpp:12: ../boost/math/special_functions/expint.hpp: In function ???void boost::math::detail::expint_i_imp_113a(T&, const T&)???: ../boost/math/special_functions/expint.hpp:1028: error: expected primary- expression before ???(??? token
(compare http://tinyurl.com/bqfputx)
for now, i've reverted to the libc random() function to work around this issue, but it would be great, if someone with insights in boost.math could have a look.
You don't say what the compiler/platform is, but I think this was caused by some missing using declarations after I refactored the code.
haven't seen it on my machine (linux/gcc-4.6 and linux/clang++), but it was broken on several machines of the test farm, e.g. the link above points to linux/gcc-4.4.4.
Hopefully now fixed in Trunk.
thanks, tim
participants (2)
-
John Maddock
-
Tim Blechmann