mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-05-03 01:04:23 +08:00
Workaround ICC issue with first_aligned
This commit is contained in:
parent
6163db814c
commit
63e29e7765
@ -617,7 +617,7 @@ static inline Index first_default_aligned(const DenseBase<Derived>& m)
|
|||||||
{
|
{
|
||||||
typedef typename Derived::Scalar Scalar;
|
typedef typename Derived::Scalar Scalar;
|
||||||
typedef typename packet_traits<Scalar>::type DefaultPacketType;
|
typedef typename packet_traits<Scalar>::type DefaultPacketType;
|
||||||
return first_aligned<unpacket_traits<DefaultPacketType>::alignment>(m);
|
return internal::first_aligned<int(unpacket_traits<DefaultPacketType>::alignment),Derived>(m);
|
||||||
}
|
}
|
||||||
|
|
||||||
template<typename Derived, bool HasDirectAccess = has_direct_access<Derived>::ret>
|
template<typename Derived, bool HasDirectAccess = has_direct_access<Derived>::ret>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user