From 8f927fb52ed25b37a13ff5194381b743340876b9 Mon Sep 17 00:00:00 2001 From: Marcus Comstedt Date: Mon, 3 Jul 2023 13:10:07 +0200 Subject: [PATCH] Altivec: fix compilation with C++20 and higher --- Eigen/src/Core/arch/AltiVec/MatrixVectorProduct.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Eigen/src/Core/arch/AltiVec/MatrixVectorProduct.h b/Eigen/src/Core/arch/AltiVec/MatrixVectorProduct.h index b8e1ab604..73c6aa15b 100644 --- a/Eigen/src/Core/arch/AltiVec/MatrixVectorProduct.h +++ b/Eigen/src/Core/arch/AltiVec/MatrixVectorProduct.h @@ -1410,7 +1410,7 @@ EIGEN_ALWAYS_INLINE Packet pset_init(Packet& c1) template struct alpha_store { - alpha_store(ResScalar& alpha) { + alpha_store(ResScalar& alpha) { separate.r = pset1_complex(alpha); separate.i = pset1_complex(alpha); }