From d4567d5ab57452b8b5b3433e8a99806df56c8155 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomasz=20Do=C5=82bniak?= Date: Fri, 21 Aug 2020 16:22:54 +0200 Subject: [PATCH] Linux clang compilation error fix (#1891) --- .../reference/include/ngraph/runtime/reference/reduce_l1.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ngraph/core/reference/include/ngraph/runtime/reference/reduce_l1.hpp b/ngraph/core/reference/include/ngraph/runtime/reference/reduce_l1.hpp index 21bc8c526a3..336dd507f83 100644 --- a/ngraph/core/reference/include/ngraph/runtime/reference/reduce_l1.hpp +++ b/ngraph/core/reference/include/ngraph/runtime/reference/reduce_l1.hpp @@ -51,7 +51,7 @@ namespace ngraph size_t output_index = output_transform.index(output_coord); out[output_index] = - out[output_index] + abs(arg[input_transform.index(input_coord)]); + out[output_index] + std::abs(arg[input_transform.index(input_coord)]); } } }