Merge pull request #25893 from fengyuentau:core/fix_v_erf

core: fix compilation problem with v_erf
pull/25930/head
Alexander Smorkalov 5 months ago committed by GitHub
commit c6ace77e21
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      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),

Loading…
Cancel
Save