Rename generic_fast_tanh_float to ptanh_float and move it to...

This commit is contained in:
Rasmus Munk Larsen
2024-02-16 21:27:22 +00:00
committed by Antonio Sánchez
parent 2a9055b50e
commit 4d419e2209
6 changed files with 69 additions and 67 deletions

View File

@@ -39,8 +39,9 @@ EIGEN_STRONG_INLINE PacketXf pcos<PacketXf>(const PacketXf& x) {
// Hyperbolic Tangent function.
template <>
EIGEN_STRONG_INLINE PacketXf ptanh<PacketXf>(const PacketXf& x) {
return internal::generic_fast_tanh_float(x);
return ptanh_float(x);
}
} // end namespace internal
} // end namespace Eigen