Fixed failing is_finite tests on the latest clang

Signed-off-by: Alexander Borsuk <me@alex.bio>
This commit is contained in:
Alexander Borsuk
2025-06-20 04:11:56 +02:00
committed by Konstantin Pastbin
parent 8fe788c98d
commit 82133c5743
11 changed files with 97 additions and 74 deletions

View File

@@ -11,7 +11,7 @@
#include "geometry/any_rect2d.hpp"
#include "geometry/rect2d.hpp"
#include "base/string_utils.hpp"
#include "base/math.hpp"
#include <iostream>
#include <sstream>
@@ -58,7 +58,7 @@ bool FromStringArray(string const & s, T(&arr)[N])
size_t count = 0;
while (count < N && in >> arr[count])
{
if (!strings::is_finite(arr[count]))
if (!math::is_finite(arr[count]))
return false;
++count;
}