From 4cc32d80fd091559bc90a55946945fc1584fdd86 Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Thu, 21 Jun 2018 10:28:38 +0200 Subject: [PATCH] bug #1555: compilation fix with XLC --- Eigen/src/Core/arch/AltiVec/PacketMath.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Eigen/src/Core/arch/AltiVec/PacketMath.h b/Eigen/src/Core/arch/AltiVec/PacketMath.h index 6d7190a56..7f6dbe62a 100755 --- a/Eigen/src/Core/arch/AltiVec/PacketMath.h +++ b/Eigen/src/Core/arch/AltiVec/PacketMath.h @@ -1054,7 +1054,7 @@ ptranspose(PacketBlock& kernel) { template<> EIGEN_STRONG_INLINE Packet2d pblend(const Selector<2>& ifPacket, const Packet2d& thenPacket, const Packet2d& elsePacket) { Packet2l select = { ifPacket.select[0], ifPacket.select[1] }; - Packet2bl mask = vec_cmpeq(reinterpret_cast(select), reinterpret_cast(p2l_ONE)); + Packet2bl mask = reinterpret_cast( vec_cmpeq(reinterpret_cast(select), reinterpret_cast(p2l_ONE)); return vec_sel(elsePacket, thenPacket, mask); } #endif // __VSX__