diff --git a/Eigen/src/Core/arch/AVX/TypeCasting.h b/Eigen/src/Core/arch/AVX/TypeCasting.h index f01622c5a..2581eff66 100644 --- a/Eigen/src/Core/arch/AVX/TypeCasting.h +++ b/Eigen/src/Core/arch/AVX/TypeCasting.h @@ -221,7 +221,7 @@ EIGEN_STRONG_INLINE Packet4d pcast(const Packet4l& a) { template <> EIGEN_STRONG_INLINE Packet4d pcast(const Packet2l& a, const Packet2l& b) { - return _mm256_set_m128d(pcast(b), pcast(a)); + return _mm256_set_m128d((pcast(b)), (pcast(a))); } template <> diff --git a/Eigen/src/Geometry/OrthoMethods.h b/Eigen/src/Geometry/OrthoMethods.h index 34399a73c..a8e050236 100644 --- a/Eigen/src/Geometry/OrthoMethods.h +++ b/Eigen/src/Geometry/OrthoMethods.h @@ -98,7 +98,7 @@ EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE namespace internal { template + bool Vectorizable = bool((evaluator::Flags & evaluator::Flags) & PacketAccessBit)> struct cross3_impl { EIGEN_DEVICE_FUNC static inline typename internal::plain_matrix_type::type run(const VectorLhs& lhs, const VectorRhs& rhs) {