diff options
Diffstat (limited to 'Eigen/src/LU/Inverse.h')
-rw-r--r-- | Eigen/src/LU/Inverse.h | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/Eigen/src/LU/Inverse.h b/Eigen/src/LU/Inverse.h index e8d81a991..a4f703383 100644 --- a/Eigen/src/LU/Inverse.h +++ b/Eigen/src/LU/Inverse.h @@ -76,18 +76,16 @@ template<typename MatrixType, bool CheckExistence> class Inverse : ei_no_assignm */ bool exists() const { assert(CheckExistence); return m_exists; } - private: + int rows() const { return m_inverse.rows(); } + int cols() const { return m_inverse.cols(); } - int _rows() const { return m_inverse.rows(); } - int _cols() const { return m_inverse.cols(); } - - const Scalar _coeff(int row, int col) const + const Scalar coeff(int row, int col) const { return m_inverse.coeff(row, col); } template<int LoadMode> - PacketScalar _packet(int row, int col) const + PacketScalar packet(int row, int col) const { return m_inverse.template packet<LoadMode>(row, col); } |