diff options
author | Gael Guennebaud <g.gael@free.fr> | 2009-12-22 17:37:11 +0100 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2009-12-22 17:37:11 +0100 |
commit | e182e9c6166840b8db44e0be459a2e26d26fda0f (patch) | |
tree | 4947fcce42a9cc79f5a9f7bce28e79b36b7a3ce2 /Eigen/src/Core/Diagonal.h | |
parent | af4d8c5cecf1a1595dc601f2220ff3a8fd8d2957 (diff) |
extend the DenseStorageMatrix mechanism to all expressions
Diffstat (limited to 'Eigen/src/Core/Diagonal.h')
-rw-r--r-- | Eigen/src/Core/Diagonal.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Eigen/src/Core/Diagonal.h b/Eigen/src/Core/Diagonal.h index 25aa9cd4c..344dbca40 100644 --- a/Eigen/src/Core/Diagonal.h +++ b/Eigen/src/Core/Diagonal.h @@ -44,9 +44,8 @@ */ template<typename MatrixType, int Index> struct ei_traits<Diagonal<MatrixType,Index> > + : ei_traits<MatrixType> { - typedef typename MatrixType::Scalar Scalar; - typedef typename ei_traits<MatrixType>::StorageType StorageType; typedef typename ei_nested<MatrixType>::type MatrixTypeNested; typedef typename ei_unref<MatrixTypeNested>::type _MatrixTypeNested; enum { |