Get rid of class internal::nested<> (still have to updated Tensor module)

This commit is contained in:
Gael Guennebaud
2015-06-19 17:56:39 +02:00
parent 386d9e5ebd
commit 846b227bb7
25 changed files with 33 additions and 39 deletions

View File

@@ -60,7 +60,7 @@ template<typename _Scalar, int _Options, typename _Index, int DiagIndex>
struct traits<Diagonal<SparseMatrix<_Scalar, _Options, _Index>, DiagIndex> >
{
typedef SparseMatrix<_Scalar, _Options, _Index> MatrixType;
typedef typename nested<MatrixType>::type MatrixTypeNested;
typedef typename ref_selector<MatrixType>::type MatrixTypeNested;
typedef typename remove_reference<MatrixTypeNested>::type _MatrixTypeNested;
typedef _Scalar Scalar;