Skip to content

Commit 507c232

Browse files
committed
.
1 parent 749e508 commit 507c232

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

CImg.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27104,6 +27104,10 @@ namespace cimg_library {
2710427104
static double mp_erf(_cimg_math_parser& mp) {
2710527105
return std::erf(_mp_arg(2));
2710627106
}
27107+
#else
27108+
static double mp_erf(_cimg_math_parser& mp) {
27109+
return cimg::type<double>::nan();
27110+
}
2710727111
#endif
2710827112

2710927113
static double mp_erfinv(_cimg_math_parser& mp) {

0 commit comments

Comments
 (0)