mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-04-29 15:24:51 +08:00
Make code compile again for older compilers.
See https://stackoverflow.com/questions/7411515/
This commit is contained in:
parent
efa4c9c40f
commit
6dd93f7e3b
@ -589,7 +589,7 @@ public:
|
||||
template <typename ResPacketType, typename AccPacketType>
|
||||
EIGEN_STRONG_INLINE void acc(const AccPacketType& c, const ResPacketType& alpha, ResPacketType& r) const
|
||||
{
|
||||
const conj_helper<ResPacketType,ResPacketType,ConjLhs,false> cj;
|
||||
conj_helper<ResPacketType,ResPacketType,ConjLhs,false> cj;
|
||||
r = cj.pmadd(c,alpha,r);
|
||||
}
|
||||
|
||||
@ -927,7 +927,7 @@ public:
|
||||
template <typename ResPacketType, typename AccPacketType>
|
||||
EIGEN_STRONG_INLINE void acc(const AccPacketType& c, const ResPacketType& alpha, ResPacketType& r) const
|
||||
{
|
||||
const conj_helper<ResPacketType,ResPacketType,false,ConjRhs> cj;
|
||||
conj_helper<ResPacketType,ResPacketType,false,ConjRhs> cj;
|
||||
r = cj.pmadd(alpha,c,r);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user