From e8c0c4397a508169282e5859410d5d6cdc87edbe Mon Sep 17 00:00:00 2001 From: Michalis Spyrou Date: Tue, 22 Jan 2019 11:08:31 +0000 Subject: COMPMID-1710 Fix bare metal build failure Change-Id: Ibf66f518a503bd386c0273d21a47073271adf9a4 Reviewed-on: https://review.mlplatform.org/549 Reviewed-by: Michele Di Giorgio Tested-by: Arm Jenkins --- src/core/NEON/kernels/NEElementwiseOperationKernel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/NEON/kernels/NEElementwiseOperationKernel.cpp b/src/core/NEON/kernels/NEElementwiseOperationKernel.cpp index 99a3b5ac66..789ef5c2b0 100644 --- a/src/core/NEON/kernels/NEElementwiseOperationKernel.cpp +++ b/src/core/NEON/kernels/NEElementwiseOperationKernel.cpp @@ -480,7 +480,7 @@ void elementwise_op(const ITensor *in1, const ITensor *in2, ITensor *out, const Window win = window; win.set(Window::DimX, Window::Dimension(0, 1, 1)); - const int window_step_x = std::min(16 / static_cast(sizeof(OutputScalarType)), 8); + const int window_step_x = std::min(16 / static_cast(sizeof(OutputScalarType)), 8); const auto window_start_x = static_cast(window.x().start()); const auto window_end_x = static_cast(window.x().end()); const bool is_broadcast_across_x = (input1_win.x().step() == 0) || (input2_win.x().step() == 0); -- cgit v1.2.1