Revert generic implementation of predux, since it break compilation of predux_any with MSVC.

This commit is contained in:
Rasmus Munk Larsen 2020-10-14 21:41:28 +00:00
parent e3e2cf9d24
commit 208b3626d1

View File

@ -689,7 +689,7 @@ template<typename Packet>
EIGEN_DEVICE_FUNC inline typename unpacket_traits<Packet>::type
predux(const Packet& a)
{
return predux_helper(a, padd<typename unpacket_traits<Packet>::type>);
return a;
}
/** \internal \returns the product of the elements of \a a */