diff options
Diffstat (limited to 'Eigen/src/Core/DiagonalCoeffs.h')
-rw-r--r-- | Eigen/src/Core/DiagonalCoeffs.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Eigen/src/Core/DiagonalCoeffs.h b/Eigen/src/Core/DiagonalCoeffs.h index d2a0af56c..8906d213c 100644 --- a/Eigen/src/Core/DiagonalCoeffs.h +++ b/Eigen/src/Core/DiagonalCoeffs.h @@ -50,10 +50,10 @@ template<typename MatrixType> class DiagonalCoeffs EIGEN_INHERIT_ASSIGNMENT_OPERATORS(DiagonalCoeffs) - static const int RowsAtCompileTime = MatrixType::RowsAtCompileTime, + private: + static const int RowsAtCompileTime = MatrixType::Traits::RowsAtCompileTime, ColsAtCompileTime = 1; - private: const DiagonalCoeffs& _ref() const { return *this; } int _rows() const { return std::min(m_matrix.rows(), m_matrix.cols()); } int _cols() const { return 1; } |