File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -27105,9 +27105,7 @@ namespace cimg_library {
2710527105 return std::erf(_mp_arg(2));
2710627106 }
2710727107#else
27108- static double mp_erf(_cimg_math_parser& mp) {
27109- return cimg::type<double>::nan();
27110- }
27108+ static double mp_erf(_cimg_math_parser& mp) { cimg::unused(mp); return cimg::type<double>::nan(); }
2711127109#endif
2711227110
2711327111 static double mp_erfinv(_cimg_math_parser& mp) {
@@ -27368,6 +27366,8 @@ namespace cimg_library {
2736827366 static double mp_gamma(_cimg_math_parser& mp) {
2736927367 return std::tgamma(_mp_arg(2));
2737027368 }
27369+ #else
27370+ static double mp_gamma(_cimg_math_parser& mp) { cimg::unused(mp); return cimg::type<double>::nan(); }
2737127371#endif
2737227372
2737327373 static double mp_gauss(_cimg_math_parser& mp) {
You can’t perform that action at this time.
0 commit comments