Fixed issue #646.

This commit is contained in:
Branimir Karadžić 2016-01-10 18:43:20 -08:00
parent 4ae57c2ef6
commit aef3b07508

View File

@ -35,7 +35,11 @@ namespace nv
inline bool isFinite(const float f)
{
#if defined(_MSC_VER) && _MSC_VER <= 1800
return true;
#else
return std::isfinite(f);
#endif // defined(_MSC_VER) && _MSC_VER <= 1800
}
// Eliminates negative zeros from a float array.