mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
Revert generic implementation of predux, since it break compilation of predux_any with MSVC.
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user