diff options
author | Benoit Jacob <jacob.benoit.1@gmail.com> | 2008-01-06 16:35:21 +0000 |
---|---|---|
committer | Benoit Jacob <jacob.benoit.1@gmail.com> | 2008-01-06 16:35:21 +0000 |
commit | 84934ea217eb327ba0e3c357b3c68ab0e22d5160 (patch) | |
tree | 517efc9702ac2e448763e45f04e8906e86ebb1d1 /Eigen/src/Core/Conjugate.h | |
parent | aaf889e72b005110530fb4252fb0858c2ec733de (diff) |
- move: DerivedTraits becomes MatrixBase::Traits
- the static constants are private again in the Derived classes
- more documentation and code snippets
- new isDiagonal() method
Diffstat (limited to 'Eigen/src/Core/Conjugate.h')
-rw-r--r-- | Eigen/src/Core/Conjugate.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Eigen/src/Core/Conjugate.h b/Eigen/src/Core/Conjugate.h index 90add873e..620f16234 100644 --- a/Eigen/src/Core/Conjugate.h +++ b/Eigen/src/Core/Conjugate.h @@ -48,10 +48,10 @@ template<typename MatrixType> class Conjugate : NoOperatorEquals, Conjugate(const MatRef& matrix) : m_matrix(matrix) {} - static const int RowsAtCompileTime = MatrixType::RowsAtCompileTime, - ColsAtCompileTime = MatrixType::ColsAtCompileTime; - private: + static const int RowsAtCompileTime = MatrixType::Traits::RowsAtCompileTime, + ColsAtCompileTime = MatrixType::Traits::ColsAtCompileTime; + const Conjugate& _ref() const { return *this; } int _rows() const { return m_matrix.rows(); } int _cols() const { return m_matrix.cols(); } |