replace using with typedef

This commit is contained in:
Charles Schlosser 2023-11-24 19:42:54 +00:00
parent 63291e34bf
commit f7085a1096

View File

@ -359,7 +359,7 @@ EIGEN_DEVICE_FUNC EIGEN_DONT_INLINE void general_matrix_vector_product<Index,Lhs
HasQuarter = (int)ResPacketSizeQuarter < (int)ResPacketSizeHalf
};
using UnsignedIndex = typename make_unsigned<Index>::type;
typedef typename make_unsigned<Index>::type UnsignedIndex;
const Index fullColBlockEnd = LhsPacketSize * (UnsignedIndex(cols) / LhsPacketSize);
const Index halfColBlockEnd = LhsPacketSizeHalf * (UnsignedIndex(cols) / LhsPacketSizeHalf);
const Index quarterColBlockEnd = LhsPacketSizeQuarter * (UnsignedIndex(cols) / LhsPacketSizeQuarter);