From 11fde3bb892b07197cb1483bcf754f098a6251fc Mon Sep 17 00:00:00 2001 From: fengyuentau Date: Wed, 10 Jul 2024 14:48:45 +0800 Subject: [PATCH] fix --- modules/core/include/opencv2/core/hal/intrin_math.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/core/include/opencv2/core/hal/intrin_math.hpp b/modules/core/include/opencv2/core/hal/intrin_math.hpp index 4f967cff1a..06a4e27080 100644 --- a/modules/core/include/opencv2/core/hal/intrin_math.hpp +++ b/modules/core/include/opencv2/core/hal/intrin_math.hpp @@ -428,7 +428,7 @@ namespace CV__SIMD_NAMESPACE { //! @name Error Function //! @{ - inline v_float32 v_erf(v_float32 v) { + inline v_float32 v_erf(const v_float32 &v) { const v_float32 coef0 = vx_setall_f32(0.3275911f), coef1 = vx_setall_f32(1.061405429f), coef2 = vx_setall_f32(-1.453152027f),