Commit e61d4307 by Csaba Pinter

Merge branch 'mac-build-error' into 'master'

Attempt to fix Mac build error

See merge request !6
parents 6510d5c6 cc946acc
......@@ -30,7 +30,7 @@ save_vector_as_image (
for (plm_long i = 0; i < vol->npix; i++)
{
if (isnan(v[i]) || isinf(v[i]) || v[i] == NLMAX(double)) {
if (std::isnan(v[i]) || std::isinf(v[i]) || v[i] == NLMAX(double)) {
vol_img[i] = -1;
} else {
vol_img[i] = (float) v[i];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment