From 20ca86888e70fe7afa7220ba93a98a3183ccec39 Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Thu, 21 Jun 2018 10:28:58 +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 5d33c35a7..b859672d4 100755 --- a/Eigen/src/Core/arch/AltiVec/PacketMath.h +++ b/Eigen/src/Core/arch/AltiVec/PacketMath.h @@ -1050,7 +1050,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__