aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Rasmus Munk Larsen <rmlarsen@google.com>2020-06-04 22:25:05 +0000
committerGravatar Rasmus Munk Larsen <rmlarsen@google.com>2020-06-04 22:25:05 +0000
commit537e2b322f8122126aee83c92c95ba8ab9061970 (patch)
tree45d612fc841d92f2504f9267bf4a121de6df3c4a
parentfdc1cbdce303a03284bc7c2cf71189a6ec12ee7c (diff)
Fix typo in previous update to generic predux_any.
-rw-r--r--Eigen/src/Core/GenericPacketMath.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Eigen/src/Core/GenericPacketMath.h b/Eigen/src/Core/GenericPacketMath.h
index 41e1b0923..adf431b4c 100644
--- a/Eigen/src/Core/GenericPacketMath.h
+++ b/Eigen/src/Core/GenericPacketMath.h
@@ -524,7 +524,7 @@ template<typename Packet> EIGEN_DEVICE_FUNC inline bool predux_any(const Packet&
// - bits full of ones (NaN for floats),
// - or first bit equals to 1 (1 for ints, smallest denormal for floats).
// For all these cases, taking the sum is just fine, and this boils down to a no-op for scalars.
- return bool(numext::not_equal_strict(a, pzero(a)));
+ return bool(numext::not_equal_strict(predux(a), pzero(a)));
}
/** \internal \returns the reversed elements of \a a*/