Move implementation of vectorized error function erf() to SpecialFunctionsImpl.h.

This commit is contained in:
Rasmus Munk Larsen
2019-09-27 13:56:04 -07:00
parent 7c8bc0d928
commit 13ef08e5ac
12 changed files with 67 additions and 142 deletions

View File

@@ -232,13 +232,6 @@ ptanh<Packet4f>(const Packet4f& x) {
return internal::generic_fast_tanh_float(x);
}
// Error function.
template <>
EIGEN_DEFINE_FUNCTION_ALLOWING_MULTIPLE_DEFINITIONS EIGEN_UNUSED Packet4f
perf<Packet4f>(const Packet4f& x) {
return internal::generic_fast_erf_float(x);
}
} // end namespace internal
} // end namespace Eigen