From 972dcf7cb3f87228904cb37b3cdee7eeab4c964e Mon Sep 17 00:00:00 2001 From: "y.qiu" Date: Sat, 22 Feb 2025 17:21:42 +0800 Subject: [PATCH] small fix --- grayMatch.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/grayMatch.cpp b/grayMatch.cpp index c36685c..1a33aaf 100644 --- a/grayMatch.cpp +++ b/grayMatch.cpp @@ -239,7 +239,7 @@ void matchTemplateSimd(const cv::Mat &src, const cv::Mat &templateImg, cv::Mat & #ifdef __aarch64__ tmp[ x ] = cv::v_add(tmp[ x ], cv::v_dotprod_expand_fast(vSrc, vTem)); #else - tmp[ x ] = cv::v_add(tmp[ x ], tmp[ x ] += cv::v_dotprod_expand(vSrc, vTem)); + tmp[ x ] = cv::v_add(tmp[ x ], cv::v_dotprod_expand(vSrc, vTem)); #endif } }