aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen/src/Core/DiagonalMatrix.h
diff options
context:
space:
mode:
authorGravatar Benoit Jacob <jacob.benoit.1@gmail.com>2008-06-01 03:36:49 +0000
committerGravatar Benoit Jacob <jacob.benoit.1@gmail.com>2008-06-01 03:36:49 +0000
commitdc5fd8dfffad9c19dc6699d5ab1f435f1c10b6e8 (patch)
tree278b284b014dbb948bd7420a95d359a61f1ece90 /Eigen/src/Core/DiagonalMatrix.h
parentd5cbb1d0024f75b1d571ef724fbed3f6eeb5ee31 (diff)
meagre outcome for so much time spent!
* fix inverse() bug discovered by Gael's test * fix warnings introduced by the new Diagonal stuff * update Doxyfile to v1.5.6
Diffstat (limited to 'Eigen/src/Core/DiagonalMatrix.h')
-rw-r--r--Eigen/src/Core/DiagonalMatrix.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/Eigen/src/Core/DiagonalMatrix.h b/Eigen/src/Core/DiagonalMatrix.h
index fa343e7d7..2a5b618e8 100644
--- a/Eigen/src/Core/DiagonalMatrix.h
+++ b/Eigen/src/Core/DiagonalMatrix.h
@@ -42,15 +42,15 @@ template<typename CoeffsVectorType>
struct ei_traits<DiagonalMatrix<CoeffsVectorType> >
{
typedef typename CoeffsVectorType::Scalar Scalar;
- typedef typename ei_nested<CoeffsVectorType>::type CoeffsVectorTypeTypeNested;
- typedef typename ei_unref<CoeffsVectorTypeTypeNested>::type _CoeffsVectorTypeTypeNested;
+ typedef typename ei_nested<CoeffsVectorType>::type CoeffsVectorTypeNested;
+ typedef typename ei_unref<CoeffsVectorTypeNested>::type _CoeffsVectorTypeNested;
enum {
RowsAtCompileTime = CoeffsVectorType::SizeAtCompileTime,
ColsAtCompileTime = CoeffsVectorType::SizeAtCompileTime,
MaxRowsAtCompileTime = CoeffsVectorType::MaxSizeAtCompileTime,
MaxColsAtCompileTime = CoeffsVectorType::MaxSizeAtCompileTime,
- Flags = _CoeffsVectorTypeTypeNested::Flags & HereditaryBits | Diagonal,
- CoeffReadCost = _CoeffsVectorTypeTypeNested::CoeffReadCost
+ Flags = (_CoeffsVectorTypeNested::Flags & HereditaryBits) | Diagonal,
+ CoeffReadCost = _CoeffsVectorTypeNested::CoeffReadCost
};
};