diff options
Diffstat (limited to 'Eigen/src/Core/DiagonalCoeffs.h')
-rw-r--r-- | Eigen/src/Core/DiagonalCoeffs.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Eigen/src/Core/DiagonalCoeffs.h b/Eigen/src/Core/DiagonalCoeffs.h index 44904fbcd..0a570c9fc 100644 --- a/Eigen/src/Core/DiagonalCoeffs.h +++ b/Eigen/src/Core/DiagonalCoeffs.h @@ -50,11 +50,11 @@ template<typename MatrixType> class DiagonalCoeffs EIGEN_INHERIT_ASSIGNMENT_OPERATORS(DiagonalCoeffs) + static const TraversalOrder Order = ColumnMajor; + static const int RowsAtCompileTime = MatrixType::RowsAtCompileTime, + ColsAtCompileTime = 1; + private: - static const TraversalOrder _Order = ColumnMajor; - static const int _RowsAtCompileTime = MatrixType::RowsAtCompileTime, - _ColsAtCompileTime = 1; - const DiagonalCoeffs& _ref() const { return *this; } int _rows() const { return std::min(m_matrix.rows(), m_matrix.cols()); } int _cols() const { return 1; } |