mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-07-16 01:51:51 +08:00
replace using with typedef
This commit is contained in:
parent
63291e34bf
commit
f7085a1096
@ -359,7 +359,7 @@ EIGEN_DEVICE_FUNC EIGEN_DONT_INLINE void general_matrix_vector_product<Index,Lhs
|
|||||||
HasQuarter = (int)ResPacketSizeQuarter < (int)ResPacketSizeHalf
|
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 fullColBlockEnd = LhsPacketSize * (UnsignedIndex(cols) / LhsPacketSize);
|
||||||
const Index halfColBlockEnd = LhsPacketSizeHalf * (UnsignedIndex(cols) / LhsPacketSizeHalf);
|
const Index halfColBlockEnd = LhsPacketSizeHalf * (UnsignedIndex(cols) / LhsPacketSizeHalf);
|
||||||
const Index quarterColBlockEnd = LhsPacketSizeQuarter * (UnsignedIndex(cols) / LhsPacketSizeQuarter);
|
const Index quarterColBlockEnd = LhsPacketSizeQuarter * (UnsignedIndex(cols) / LhsPacketSizeQuarter);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user