From bddaa99e151244402c6e804e01b970288650da6b Mon Sep 17 00:00:00 2001 From: Markus Vieth Date: Fri, 21 Feb 2025 20:48:31 +0100 Subject: [PATCH] Fix bitwise operation error when compiling as C++26 --- Eigen/src/Geometry/OrthoMethods.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Eigen/src/Geometry/OrthoMethods.h b/Eigen/src/Geometry/OrthoMethods.h index 9c8f095d3..fc708ee22 100644 --- a/Eigen/src/Geometry/OrthoMethods.h +++ b/Eigen/src/Geometry/OrthoMethods.h @@ -95,7 +95,8 @@ MatrixBase::cross(const MatrixBase& other) const { namespace internal { template ::Flags & evaluator::Flags) & PacketAccessBit)> + bool Vectorizable = + bool((int(evaluator::Flags) & int(evaluator::Flags)) & PacketAccessBit)> struct cross3_impl { EIGEN_DEVICE_FUNC static inline typename internal::plain_matrix_type::type run(const VectorLhs& lhs, const VectorRhs& rhs) {