mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
some more cleanup and reorganisation
This commit is contained in:
@@ -51,9 +51,9 @@ template<typename Lhs, typename Rhs> class Sum : NoOperatorEquals,
|
||||
int _rows() const { return m_lhs.rows(); }
|
||||
int _cols() const { return m_lhs.cols(); }
|
||||
|
||||
Scalar _read(int row, int col) const
|
||||
Scalar _coeff(int row, int col) const
|
||||
{
|
||||
return m_lhs.read(row, col) + m_rhs.read(row, col);
|
||||
return m_lhs.coeff(row, col) + m_rhs.coeff(row, col);
|
||||
}
|
||||
|
||||
protected:
|
||||
|
||||
Reference in New Issue
Block a user