mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-04-28 23:04:18 +08:00
Revert generic implementation of predux
, since it break compilation of predux_any
with MSVC.
This commit is contained in:
parent
e3e2cf9d24
commit
208b3626d1
@ -689,7 +689,7 @@ template<typename Packet>
|
|||||||
EIGEN_DEVICE_FUNC inline typename unpacket_traits<Packet>::type
|
EIGEN_DEVICE_FUNC inline typename unpacket_traits<Packet>::type
|
||||||
predux(const Packet& a)
|
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 */
|
/** \internal \returns the product of the elements of \a a */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user