boostorg / multiprecision

Boost.Multiprecision
Boost Software License 1.0
194 stars 111 forks source link

Remove uses of Boost.Array #568

Closed mborland closed 10 months ago

mborland commented 11 months ago

Closes: #567

jzmaddock commented 10 months ago

Not sure why this worked before... apparently boost::rational has no swap non-member, so we need a using std::swap in the test case.

mborland commented 10 months ago

@jzmaddock Any idea why the following now pops up in GNU mode?

../../../boost/math/special_functions/beta.hpp:573:35: error: call of overloaded 'log1p(boost::multiprecision::number<boost::multiprecision::backends::mpfr_float_backend<100>, (boost::multiprecision::expression_template_option)0>)' is ambiguous
             power1 = exp(a * log1p((x * b - y * a) / a + p * (x * c / a)));
jzmaddock commented 10 months ago

That's weird, and new :(

Not just gnu mode as the clang tests are failing too, I'll see if I can reproduce....

jzmaddock commented 10 months ago

Fix here: https://github.com/boostorg/math/pull/1043

mborland commented 10 months ago

Fix here: boostorg/math#1043

Thank you. Once that is merged I will re-run the CI here.