mirror of
https://codeberg.org/comaps/comaps
synced 2026-01-05 12:13:54 +00:00
Fixed failing is_finite tests on the latest clang
Signed-off-by: Alexander Borsuk <me@alex.bio>
This commit is contained in:
committed by
Konstantin Pastbin
parent
8fe788c98d
commit
82133c5743
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user