aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen/src/Core/Map.h
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2009-01-18 09:53:06 +0000
committerGravatar Gael Guennebaud <g.gael@free.fr>2009-01-18 09:53:06 +0000
commit0c7974dd4d534c9d115d95179b37cca9b0e94bc6 (patch)
treefb65a4c707b8e79055f244d6a7425eff830d0a7c /Eigen/src/Core/Map.h
parent22792c696f71af7c38c7ba064f4ed87e1ac8a409 (diff)
bugfix in Map by Keir Mierle
Diffstat (limited to 'Eigen/src/Core/Map.h')
-rw-r--r--Eigen/src/Core/Map.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Eigen/src/Core/Map.h b/Eigen/src/Core/Map.h
index d391ba93f..91ca5d649 100644
--- a/Eigen/src/Core/Map.h
+++ b/Eigen/src/Core/Map.h
@@ -85,7 +85,7 @@ template<typename MatrixType, int PacketAccess> class Map
EIGEN_ONLY_USED_FOR_DEBUG(rows);
EIGEN_ONLY_USED_FOR_DEBUG(cols);
ei_assert(rows == this->rows());
- ei_assert(rows == this->cols());
+ ei_assert(cols == this->cols());
}
inline void resize(int size)