noise-tool: use windows accessible isnan

This commit is contained in:
Danny Robson 2015-09-09 19:44:51 +10:00
parent dd84b7022e
commit e829e95791

View File

@ -240,7 +240,7 @@ main (int argc, char **argv)
case RMF: f.reset<fractal::rmf <float,basis::runtime<float>>> (seed); break;
case HETERO: {
auto &child = f.reset<fractal::hetero<float,basis::runtime<float>>> (seed);
if (!isnan (offset))
if (!std::isnan (offset))
child.offset (offset);
break;
}