mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
Enable vectorized erf<double>(x) for SSE and AVX, which was accidentally removed in merge request 1750.
This commit is contained in:
@@ -145,6 +145,7 @@ struct packet_traits<double> : default_packet_traits {
|
|||||||
#endif
|
#endif
|
||||||
HasTanh = EIGEN_FAST_MATH,
|
HasTanh = EIGEN_FAST_MATH,
|
||||||
HasLog = 1,
|
HasLog = 1,
|
||||||
|
HasErf = 1,
|
||||||
HasErfc = 1,
|
HasErfc = 1,
|
||||||
HasExp = 1,
|
HasExp = 1,
|
||||||
HasSqrt = 1,
|
HasSqrt = 1,
|
||||||
|
|||||||
@@ -217,6 +217,7 @@ struct packet_traits<double> : default_packet_traits {
|
|||||||
HasCos = EIGEN_FAST_MATH,
|
HasCos = EIGEN_FAST_MATH,
|
||||||
HasTanh = EIGEN_FAST_MATH,
|
HasTanh = EIGEN_FAST_MATH,
|
||||||
HasLog = 1,
|
HasLog = 1,
|
||||||
|
HasErf = EIGEN_FAST_MATH,
|
||||||
HasErfc = EIGEN_FAST_MATH,
|
HasErfc = EIGEN_FAST_MATH,
|
||||||
HasExp = 1,
|
HasExp = 1,
|
||||||
HasSqrt = 1,
|
HasSqrt = 1,
|
||||||
|
|||||||
Reference in New Issue
Block a user