From b69b1eae8f4bab282004ae6f3e9e4f3a8f0db1e2 Mon Sep 17 00:00:00 2001 From: Zihao Mu Date: Fri, 2 Sep 2022 16:30:06 +0800 Subject: [PATCH] fix bug 22450 --- modules/dnn/src/layers/fast_convolution/fast_convolution.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/dnn/src/layers/fast_convolution/fast_convolution.hpp b/modules/dnn/src/layers/fast_convolution/fast_convolution.hpp index eda5c7ce26..ba85077f70 100644 --- a/modules/dnn/src/layers/fast_convolution/fast_convolution.hpp +++ b/modules/dnn/src/layers/fast_convolution/fast_convolution.hpp @@ -21,7 +21,7 @@ enum { FAST_VEC_NLANES=4 }; #define CONV_MR 4 #define CONV_NR 24 -#ifdef CV_AVX2 +#if CV_AVX2 enum { FAST_VEC_NLANES=8 }; // AVX2 #else enum { FAST_VEC_NLANES=4 }; // SIMD 128