Fix build with clang & C++17 (bessel functions not defined)
This commit is contained in:
parent
15370fa439
commit
c3df3d3b65
1 changed files with 1 additions and 1 deletions
|
|
@ -26,7 +26,7 @@
|
|||
#include <simde/x86/sse.h>
|
||||
#endif
|
||||
|
||||
#if __cplusplus >= 201703L
|
||||
#if __cplusplus >= 201703L && defined(__cpp_lib_math_special_functions)
|
||||
static double i0(double x) { return std::cyl_bessel_i(0.0, x); }
|
||||
#else
|
||||
// external Bessel function from cephes
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue