mirror of
https://github.com/boostorg/math.git
synced 2026-02-21 15:12:28 +00:00
Cardinal B-splines: Second attempt to fix compile error on old MSVC compilers.
This commit is contained in:
@@ -9,6 +9,7 @@
|
||||
#include <numeric>
|
||||
#include <utility>
|
||||
#include <random>
|
||||
#include <cmath>
|
||||
#include <boost/core/demangle.hpp>
|
||||
#include <boost/math/special_functions/cardinal_b_spline.hpp>
|
||||
#ifdef BOOST_HAS_FLOAT128
|
||||
@@ -149,7 +150,7 @@ void test_partition_of_unity()
|
||||
one += cardinal_b_spline<n>(x);
|
||||
x += 1;
|
||||
}
|
||||
if(!CHECK_ULP_CLOSE(1, one, n)) {
|
||||
if(!CHECK_ULP_CLOSE(Real(1), one, n)) {
|
||||
std::cerr << " Partition of unity failure at n = " << n << "\n";
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user