diff --git a/libsrc/core/simd_generic.hpp b/libsrc/core/simd_generic.hpp index 1ad4ea99..b40607a4 100644 --- a/libsrc/core/simd_generic.hpp +++ b/libsrc/core/simd_generic.hpp @@ -604,6 +604,12 @@ namespace ngcore return ngcore::SIMD([a](int i)->double { return log(a[i]); } ); } + using std::erf; + template + NETGEN_INLINE ngcore::SIMD erf (ngcore::SIMD a) { + return ngcore::SIMD([a](int i)->double { return erf(a[i]); } ); + } + using std::pow; template NETGEN_INLINE ngcore::SIMD pow (ngcore::SIMD a, double x) {