From d1def335dc0900ccfc7b8879a1a978f975008000 Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Tue, 8 Oct 2019 16:19:10 +0200 Subject: [PATCH] fix one more possible conflicts with real/imag --- Eigen/src/Core/GenericPacketMath.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Eigen/src/Core/GenericPacketMath.h b/Eigen/src/Core/GenericPacketMath.h index 66db49f08..d2c2027ff 100644 --- a/Eigen/src/Core/GenericPacketMath.h +++ b/Eigen/src/Core/GenericPacketMath.h @@ -485,10 +485,7 @@ template EIGEN_DEVICE_FUNC inline Packet preverse(const Packet& /** \internal \returns \a a with real and imaginary part flipped (for complex type only) */ template EIGEN_DEVICE_FUNC inline Packet pcplxflip(const Packet& a) { - // FIXME: uncomment the following in case we drop the internal imag and real functions. -// using std::imag; -// using std::real; - return Packet(imag(a),real(a)); + return Packet(numext::imag(a),numext::real(a)); } /**************************