fixed: adjust boost version check
1.66 already has the boost::fpc scope
This commit is contained in:
parent
003560e00d
commit
fc5a2fbea6
@ -101,7 +101,7 @@ void testAllComponents()
|
||||
template<class Scalar>
|
||||
bool close_at_tolerance(Scalar n1, Scalar n2, Scalar tolerance)
|
||||
{
|
||||
#if BOOST_VERSION / 100000 == 1 && BOOST_VERSION / 100 % 1000 < 71
|
||||
#if BOOST_VERSION / 100000 == 1 && BOOST_VERSION / 100 % 1000 < 64
|
||||
auto comp = boost::test_tools::close_at_tolerance<Scalar>(boost::test_tools::percent_tolerance_t<Scalar>(tolerance*100.0));
|
||||
#else
|
||||
auto comp = boost::math::fpc::close_at_tolerance<Scalar>(tolerance);
|
||||
|
Loading…
Reference in New Issue
Block a user