mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
Index refactoring: StorageIndex must be used for storage only (and locally when it make sense). In all other cases use the global Index type.
This commit is contained in:
@@ -66,7 +66,7 @@ template<typename _Scalar, int _Dim, int _Mode, int _Options>
|
||||
struct traits<Transform<_Scalar,_Dim,_Mode,_Options> >
|
||||
{
|
||||
typedef _Scalar Scalar;
|
||||
typedef DenseIndex StorageIndex;
|
||||
typedef Eigen::Index StorageIndex;
|
||||
typedef Dense StorageKind;
|
||||
enum {
|
||||
Dim1 = _Dim==Dynamic ? _Dim : _Dim + 1,
|
||||
@@ -204,8 +204,9 @@ public:
|
||||
};
|
||||
/** the scalar type of the coefficients */
|
||||
typedef _Scalar Scalar;
|
||||
typedef DenseIndex StorageIndex;
|
||||
typedef DenseIndex Index;
|
||||
typedef Eigen::Index StorageIndex;
|
||||
/** \deprecated */
|
||||
typedef Eigen::Index Index;
|
||||
/** type of the matrix used to represent the transformation */
|
||||
typedef typename internal::make_proper_matrix_type<Scalar,Rows,HDim,Options>::type MatrixType;
|
||||
/** constified MatrixType */
|
||||
|
||||
Reference in New Issue
Block a user