Skip to content

Commit

Permalink
Merge pull request opencv#25893 from fengyuentau:core/fix_v_erf
Browse files Browse the repository at this point in the history
core: fix compilation problem with v_erf
  • Loading branch information
asmorkalov authored Jul 11, 2024
2 parents 50f1ea5 + 11fde3b commit c6ace77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/core/include/opencv2/core/hal/intrin_math.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down

0 comments on commit c6ace77

Please sign in to comment.