1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-31 08:13:04 +04:00

fix for AVX2 version of v_reduce_min intrinsic

This commit is contained in:
Vitaly Tuzov
2019-05-31 16:14:54 +03:00
parent 805ab6331f
commit 723165f878
2 changed files with 4 additions and 1 deletions
+3
View File
@@ -772,6 +772,9 @@ template<typename R> struct TheTest
EXPECT_EQ((LaneType)1, v_reduce_min(a));
EXPECT_EQ((LaneType)R::nlanes, v_reduce_max(a));
EXPECT_EQ((LaneType)((1 + R::nlanes)*R::nlanes/2), v_reduce_sum(a));
dataA[0] += R::nlanes;
R an = dataA;
EXPECT_EQ((LaneType)2, v_reduce_min(an));
return *this;
}