fix epsilob
This commit is contained in:
@@ -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{};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user