Skip to content
Snippets Groups Projects
Commit 482f22f5 authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

fix try #2

parent 79198eda
Branches
Tags
No related merge requests found
...@@ -115,7 +115,7 @@ private: ...@@ -115,7 +115,7 @@ private:
} }
bool _chknumber(double val) const { bool _chknumber(double val) const {
#if defined(_MSC_VER) #if defined(_MSC_VER)
return _isnan(val) || _isinf(val); return _isnan(val) || !_finite(val);
#else #else
return std::isnan(val) || std::isinf(val); return std::isnan(val) || std::isinf(val);
#endif #endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment