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

@@ -41,10 +41,10 @@ class MatrixStorage
assert(rows == RowsAtCompileTime && cols == ColsAtCompileTime);
}
int _rows() const EIGEN_ALWAYS_INLINE
int _rows() const
{ return RowsAtCompileTime; }
int _cols() const EIGEN_ALWAYS_INLINE
int _cols() const
{ return ColsAtCompileTime; }
public:
@@ -80,10 +80,10 @@ class MatrixStorage<Scalar, Dynamic, ColsAtCompileTime>
m_rows = rows;
}
int _rows() const EIGEN_ALWAYS_INLINE
int _rows() const
{ return m_rows; }
int _cols() const EIGEN_ALWAYS_INLINE
int _cols() const
{ return ColsAtCompileTime; }
public:
@@ -124,10 +124,10 @@ class MatrixStorage<Scalar, RowsAtCompileTime, Dynamic>
m_cols = cols;
}
int _rows() const EIGEN_ALWAYS_INLINE
int _rows() const
{ return RowsAtCompileTime; }
int _cols() const EIGEN_ALWAYS_INLINE
int _cols() const
{ return m_cols; }
public:
@@ -168,10 +168,10 @@ class MatrixStorage<Scalar, Dynamic, Dynamic>
m_cols = cols;
}
int _rows() const EIGEN_ALWAYS_INLINE
int _rows() const
{ return m_rows; }
int _cols() const EIGEN_ALWAYS_INLINE
int _cols() const
{ return m_cols; }
public: