Explicitly use the packet trait HasPow to control whether Pow is vectorized.

This commit is contained in:
Rasmus Munk Larsen
2025-07-18 21:51:42 +00:00
parent efe5b6979d
commit 97c7cc6200
8 changed files with 15 additions and 5 deletions

View File

@@ -354,10 +354,12 @@ struct packet_traits<float> : default_packet_traits {
HasDiv = 1,
HasCmp = 1,
HasSin = EIGEN_FAST_MATH,
HasCos = EIGEN_FAST_MATH,
HasLog = 1,
HasExp = 1,
HasPow = 1,
HasSqrt = 1,
HasTanh = EIGEN_FAST_MATH,
HasErf = EIGEN_FAST_MATH,