Fixed issue #646.
This commit is contained in:
parent
4ae57c2ef6
commit
aef3b07508
4
3rdparty/nvtt/nvmath/nvmath.h
vendored
4
3rdparty/nvtt/nvmath/nvmath.h
vendored
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user