Workaround ICC issue with first_aligned

This commit is contained in:
Gael Guennebaud 2015-10-11 22:47:28 +02:00
parent 6163db814c
commit 63e29e7765

View File

@ -617,7 +617,7 @@ static inline Index first_default_aligned(const DenseBase<Derived>& m)
{
typedef typename Derived::Scalar Scalar;
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>