From b4716b1d92d907707b7810f00d1abb38e4faf8df Mon Sep 17 00:00:00 2001 From: Alexander Alekhin Date: Mon, 17 Jul 2017 15:02:14 +0300 Subject: [PATCH] core: fix convertTo() AVX2 optimization --- modules/core/src/convert.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/core/src/convert.cpp b/modules/core/src/convert.cpp index 0955c78c5c..d63b53bcee 100644 --- a/modules/core/src/convert.cpp +++ b/modules/core/src/convert.cpp @@ -3678,7 +3678,7 @@ cvtScale_( const short* src, size_t sstep, if (CV_CPU_HAS_SUPPORT_AVX2) { opt_AVX2::cvtScale_s16s32f32Line_AVX2(src, dst, scale, shift, size.width); - return; + continue; } #endif #if CV_SSE2