We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 507c232 commit 7d168a8Copy full SHA for 7d168a8
1 file changed
CImg.h
@@ -27105,9 +27105,7 @@ namespace cimg_library {
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
- }
+ static double mp_erf(_cimg_math_parser& mp) { cimg::unused(mp); return cimg::type<double>::nan(); }
27111
#endif
27112
27113
static double mp_erfinv(_cimg_math_parser& mp) {
@@ -27368,6 +27366,8 @@ namespace cimg_library {
27368
27366
static double mp_gamma(_cimg_math_parser& mp) {
27369
27367
return std::tgamma(_mp_arg(2));
27370
+#else
+ static double mp_gamma(_cimg_math_parser& mp) { cimg::unused(mp); return cimg::type<double>::nan(); }
27371
27372
27373
static double mp_gauss(_cimg_math_parser& mp) {
0 commit comments