aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/CL/functions/CLReductionOperation.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/runtime/CL/functions/CLReductionOperation.cpp')
-rw-r--r--src/runtime/CL/functions/CLReductionOperation.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/runtime/CL/functions/CLReductionOperation.cpp b/src/runtime/CL/functions/CLReductionOperation.cpp
index e2dec6b375..3d82e3f0d9 100644
--- a/src/runtime/CL/functions/CLReductionOperation.cpp
+++ b/src/runtime/CL/functions/CLReductionOperation.cpp
@@ -165,13 +165,13 @@ void CLReductionOperation::configure(ICLTensor *input, ICLTensor *output, unsign
first_kernel_op = ReductionOperation::SUM;
intermediate_kernel_op = ReductionOperation::SUM;
last_kernel_op = op;
- pixelValue = PixelValue(0);
+ pixelValue = PixelValue();
break;
case ReductionOperation::SUM_SQUARE:
first_kernel_op = ReductionOperation::SUM_SQUARE;
intermediate_kernel_op = ReductionOperation::SUM;
last_kernel_op = ReductionOperation::SUM;
- pixelValue = PixelValue(0);
+ pixelValue = PixelValue();
break;
case ReductionOperation::PROD:
first_kernel_op = ReductionOperation::PROD;