We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 749e508 commit 507c232Copy full SHA for 507c232
1 file changed
CImg.h
@@ -27104,6 +27104,10 @@ namespace cimg_library {
27104
static double mp_erf(_cimg_math_parser& mp) {
27105
return std::erf(_mp_arg(2));
27106
}
27107
+#else
27108
+ static double mp_erf(_cimg_math_parser& mp) {
27109
+ return cimg::type<double>::nan();
27110
+ }
27111
#endif
27112
27113
static double mp_erfinv(_cimg_math_parser& mp) {
0 commit comments