Skip to content

Commit 7d168a8

Browse files
committed
.
1 parent 507c232 commit 7d168a8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

CImg.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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) {

0 commit comments

Comments
 (0)