fix epsilob

This commit is contained in:
2025-10-30 15:45:44 +03:00
parent 308f49f014
commit 1432186387

View File

@@ -46,7 +46,7 @@ namespace hack::comparators
// epsilon - допустимая погрешность для float // epsilon - допустимая погрешность для float
template<typename T> template<typename T>
comp_result compare_float_array_with_file(const std::vector<T>& in, const std::filesystem::path& path, float epsilon = 1e-6f) comp_result compare_float_array_with_file(const std::vector<T>& in, const std::filesystem::path& path, float epsilon = 0.000'01)
{ {
comp_result res{}; comp_result res{};