From fa7ad56c4fc9e63a2f9e9a16e97ac9c275a5e3d8 Mon Sep 17 00:00:00 2001 From: Georgios Pinitas Date: Tue, 15 May 2018 17:38:40 +0100 Subject: COMPMID-1163: NEON Scale NHWC failures Change-Id: Ice620385ce787b568b38fcbdddc94ef385396141 Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/131355 Reviewed-by: Anthony Barbier Tested-by: Jenkins --- src/runtime/NEON/functions/NEScale.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/runtime/NEON/functions/NEScale.cpp') diff --git a/src/runtime/NEON/functions/NEScale.cpp b/src/runtime/NEON/functions/NEScale.cpp index 9407273c1f..a9c85bd726 100644 --- a/src/runtime/NEON/functions/NEScale.cpp +++ b/src/runtime/NEON/functions/NEScale.cpp @@ -65,7 +65,7 @@ void precompute_dx_dy_offsets(ITensor *dx, ITensor *dy, ITensor *offsets, float const int in_xi = std::floor(in_x); const int in_yi = std::floor(in_y); - *reinterpret_cast(offsets_it.ptr()) = in_xi * input_element_size; + *reinterpret_cast(offsets_it.ptr()) = in_xi * static_cast(input_element_size); *reinterpret_cast(dx_it.ptr()) = in_x - in_xi; *reinterpret_cast(dy_it.ptr()) = in_y - in_yi; }, -- cgit v1.2.1