aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Core/Transpose.h
diff options
context:
space:
mode:
authorGravatar Benoit Jacob <jacob.benoit.1@gmail.com>2007-12-11 14:57:42 +0000
committerGravatar Benoit Jacob <jacob.benoit.1@gmail.com>2007-12-11 14:57:42 +0000
commit0cbdaf6bb8cd2565997f75a0804972b1e9ffb520 (patch)
tree373fb3b1d0f5d783eaef3d5b77f01f8be56c2723 /src/Core/Transpose.h
parent936b0de9cc1164c369d4b601e92d4737d8defabe (diff)
revert most of my previous commit. forcing the compiler to inline only increased
its memory usage.
Diffstat (limited to 'src/Core/Transpose.h')
-rw-r--r--src/Core/Transpose.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Core/Transpose.h b/src/Core/Transpose.h
index ef89bc23a..8141e60b1 100644
--- a/src/Core/Transpose.h
+++ b/src/Core/Transpose.h
@@ -46,15 +46,15 @@ template<typename MatrixType> class Transpose
private:
const Transpose& _ref() const { return *this; }
- int _rows() const EIGEN_ALWAYS_INLINE { return m_matrix.cols(); }
- int _cols() const EIGEN_ALWAYS_INLINE { return m_matrix.rows(); }
+ int _rows() const { return m_matrix.cols(); }
+ int _cols() const { return m_matrix.rows(); }
- Scalar& _write(int row, int col) EIGEN_ALWAYS_INLINE
+ Scalar& _write(int row, int col)
{
return m_matrix.write(col, row);
}
- Scalar _read(int row, int col) const EIGEN_ALWAYS_INLINE
+ Scalar _read(int row, int col) const
{
return m_matrix.read(col, row);
}