From 1432186387e1a04728fbda87597312f24a1dab5a Mon Sep 17 00:00:00 2001 From: chatlanin Date: Thu, 30 Oct 2025 15:45:44 +0300 Subject: [PATCH] fix epsilob --- src/hack/comparators/comparators.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hack/comparators/comparators.hpp b/src/hack/comparators/comparators.hpp index 6b6c2e5..410f370 100644 --- a/src/hack/comparators/comparators.hpp +++ b/src/hack/comparators/comparators.hpp @@ -46,7 +46,7 @@ namespace hack::comparators // epsilon - допустимая погрешность для float template - comp_result compare_float_array_with_file(const std::vector& in, const std::filesystem::path& path, float epsilon = 1e-6f) + comp_result compare_float_array_with_file(const std::vector& in, const std::filesystem::path& path, float epsilon = 0.000'01) { comp_result res{};