cum_median.cpp: In function 'int cum_median(int, double*, double*, double*)':
cum_median.cpp:10:9: error: 'isfinite' was not declared in this scope; did you mean 'std::isfinite'?
10 | if(!isfinite(data_value)){
| ^~~~~~~~
| std::isfinite
In file included from /opt/local/include/LegacySupport/cmath:54,
from PiecewiseFunction.h:16,
from cum_median.cpp:3:
/opt/local/include/gcc12/c++/cmath:578:5: note: 'std::isfinite' declared here
578 | isfinite(_Tp __x)
| ^~~~~~~~
make: *** [cum_median.o] Error 1