[opencv] 97/251: core: fix convertTo() AVX2 optimization

Nobuhiro Iwamatsu iwamatsu at moszumanska.debian.org
Sun Aug 27 23:27:31 UTC 2017


This is an automated email from the git hooks/post-receive script.

iwamatsu pushed a commit to annotated tag 3.3.0
in repository opencv.

commit b4716b1d92d907707b7810f00d1abb38e4faf8df
Author: Alexander Alekhin <alexander.alekhin at intel.com>
Date:   Mon Jul 17 15:02:14 2017 +0300

    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 0955c78..d63b53b 100644
--- a/modules/core/src/convert.cpp
+++ b/modules/core/src/convert.cpp
@@ -3678,7 +3678,7 @@ cvtScale_<short, int, float>( 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

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/opencv.git



More information about the debian-science-commits mailing list