Fix tanh and erf to use vectorized version for EIGEN_FAST_MATH in VSX.

This commit is contained in:
Chip Kerchner 2022-06-15 16:06:43 +00:00 committed by Rasmus Munk Larsen
parent 7ea823e824
commit 4d1c16eab8

View File

@ -174,9 +174,9 @@ struct packet_traits<float> : default_packet_traits {
#else
HasSqrt = 0,
HasRsqrt = 0,
#endif
HasTanh = EIGEN_FAST_MATH,
HasErf = EIGEN_FAST_MATH,
#endif
HasRound = 1,
HasFloor = 1,
HasCeil = 1,