Commit cc946acc authored by Csaba Pinter's avatar Csaba Pinter

Attempt to fix Mac build error

parent 6510d5c6
......@@ -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