aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen/src/Core/Map.h
diff options
context:
space:
mode:
authorGravatar Benoit Jacob <jacob.benoit.1@gmail.com>2008-03-31 16:20:06 +0000
committerGravatar Benoit Jacob <jacob.benoit.1@gmail.com>2008-03-31 16:20:06 +0000
commitcff5e3ce9c1e09553125bce464b9c80f8bc2eb76 (patch)
tree0f8f098cdc4c07a1bc7b76d771fc22eb7e32261d /Eigen/src/Core/Map.h
parentf279162ec4f01ecec8fa37eae02757720e16e65b (diff)
Make use of the LazyBit, introduce .lazy(), remove lazyProduct.
Diffstat (limited to 'Eigen/src/Core/Map.h')
-rw-r--r--Eigen/src/Core/Map.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Eigen/src/Core/Map.h b/Eigen/src/Core/Map.h
index e1abfad3f..4872b3f60 100644
--- a/Eigen/src/Core/Map.h
+++ b/Eigen/src/Core/Map.h
@@ -65,7 +65,7 @@ template<typename MatrixType> class Map
const Scalar& _coeff(int row, int col) const
{
- if(Flags & RowMajor)
+ if(Flags & RowMajorBit)
return m_data[col + row * m_cols];
else // column-major
return m_data[row + col * m_rows];
@@ -73,7 +73,7 @@ template<typename MatrixType> class Map
Scalar& _coeffRef(int row, int col)
{
- if(Flags & RowMajor)
+ if(Flags & RowMajorBit)
return const_cast<Scalar*>(m_data)[col + row * m_cols];
else // column-major
return const_cast<Scalar*>(m_data)[row + col * m_rows];