revert most of my previous commit. forcing the compiler to inline only increased

its memory usage.
This commit is contained in:
Benoit Jacob
2007-12-11 14:57:42 +00:00
parent 936b0de9cc
commit 0cbdaf6bb8
14 changed files with 52 additions and 59 deletions

View File

@@ -47,10 +47,10 @@ template<typename MatrixType> class Opposite
private:
const Opposite& _ref() const { return *this; }
int _rows() const EIGEN_ALWAYS_INLINE { return m_matrix.rows(); }
int _cols() const EIGEN_ALWAYS_INLINE { return m_matrix.cols(); }
int _rows() const { return m_matrix.rows(); }
int _cols() const { return m_matrix.cols(); }
Scalar _read(int row, int col) const EIGEN_ALWAYS_INLINE
Scalar _read(int row, int col) const
{
return -(m_matrix.read(row, col));
}