small fix

This commit is contained in:
y.qiu
2025-02-22 17:21:42 +08:00
parent d0b8a6f3a2
commit 972dcf7cb3

View File

@ -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
}
}