diff options
author | robot-piglet <robot-piglet@yandex-team.com> | 2024-09-14 10:18:18 +0300 |
---|---|---|
committer | robot-piglet <robot-piglet@yandex-team.com> | 2024-09-14 10:28:53 +0300 |
commit | 66e260367ac774d563874203b260b0ed0e04c93d (patch) | |
tree | eb4bc3df675c97f8fad0ef56ee272ae8549be9d7 /contrib/python/contourpy/src/util.cpp | |
parent | 47df7453282e2d3835d93fd3c4c24f9cbf8adca5 (diff) | |
download | ydb-66e260367ac774d563874203b260b0ed0e04c93d.tar.gz |
Intermediate changes
commit_hash:ab55b3b972e940f79570e58af046841fae66b70c
Diffstat (limited to 'contrib/python/contourpy/src/util.cpp')
-rw-r--r-- | contrib/python/contourpy/src/util.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/contrib/python/contourpy/src/util.cpp b/contrib/python/contourpy/src/util.cpp index 59b6e4da55..82c1cc21d9 100644 --- a/contrib/python/contourpy/src/util.cpp +++ b/contrib/python/contourpy/src/util.cpp @@ -1,4 +1,5 @@ #include "util.h" +#include <cmath> #include <thread> namespace contourpy { @@ -21,4 +22,9 @@ index_t Util::get_max_threads() return static_cast<index_t>(std::thread::hardware_concurrency()); } +bool Util::is_nan(double value) +{ + return std::isnan(value); +} + } // namespace contourpy |