Merge pull request #25893 from fengyuentau:core/fix_v_erf

core: fix compilation problem with v_erf
This commit is contained in:
Alexander Smorkalov 2024-07-11 12:57:18 +03:00 committed by GitHub
commit c6ace77e21
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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),