Commit bce7ac38 authored by Kilian Lackhove's avatar Kilian Lackhove
Browse files

Vmath::Nnan: Swap isnan() for x !=x. this should work with all compilers and platforms

parent 927f8d08
......@@ -873,7 +873,7 @@ namespace Vmath
while (n--)
{
if (isnan(*x))
if (*x != *x)
{
nNan++;
}
......
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