From df230eb559924020e6d8d7ea1649a4fa7a599f0a Mon Sep 17 00:00:00 2001 From: sbalandi Date: Tue, 9 Jan 2024 16:45:53 +0100 Subject: [PATCH] fix build --- .../test_utils/common_test_utils/src/ov_tensor_utils.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tests/test_utils/common_test_utils/src/ov_tensor_utils.cpp b/src/tests/test_utils/common_test_utils/src/ov_tensor_utils.cpp index e476ed692a8bd8..012697b12729e0 100644 --- a/src/tests/test_utils/common_test_utils/src/ov_tensor_utils.cpp +++ b/src/tests/test_utils/common_test_utils/src/ov_tensor_utils.cpp @@ -390,10 +390,10 @@ void compare(const ov::Tensor& expected, double expected_value = expected_data[i]; double actual_value = actual_data[i]; - if ((std::isinf(expected_value) || expected_value >= max_type_expected) &&\ + if ((std::isinf(expected_value) || expected_value >= max_type_expected) && (std::isinf(actual_value) || actual_value >= max_type_actual)) { continue; - } else if ((std::isinf(expected_value) || expected_value <= min_type_expected) &&\ + } else if ((std::isinf(expected_value) || expected_value <= min_type_expected) && (std::isinf(actual_value) || actual_value <= min_type_actual)) { continue; }