From 184c5917bff385b845a56bdda6b4d53cf89a4915 Mon Sep 17 00:00:00 2001 From: vbystricky Date: Fri, 1 Aug 2014 17:53:24 +0400 Subject: [PATCH] Fix accurency test of OpenCL merge function. --- modules/core/test/ocl/test_channels.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/core/test/ocl/test_channels.cpp b/modules/core/test/ocl/test_channels.cpp index 7565273e7a..53d7de5d52 100644 --- a/modules/core/test/ocl/test_channels.cpp +++ b/modules/core/test/ocl/test_channels.cpp @@ -105,6 +105,7 @@ PARAM_TEST_CASE(Merge, MatDepth, int, bool) UMAT_UPLOAD_INPUT_PARAMETER(src3); UMAT_UPLOAD_INPUT_PARAMETER(src4); + src_roi.clear(); usrc_roi.clear(); // for test_loop_times > 1 src_roi.push_back(src1_roi), usrc_roi.push_back(usrc1_roi); if (nsrc >= 2) src_roi.push_back(src2_roi), usrc_roi.push_back(usrc2_roi);