aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen/src/Core
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2009-09-02 14:08:33 +0200
committerGravatar Gael Guennebaud <g.gael@free.fr>2009-09-02 14:08:33 +0200
commit496ea63972f15c5bc7d43a7a4dc987b6cd33d176 (patch)
treed44824fa165663964fdfb2eb7642e5f55dbfd2bb /Eigen/src/Core
parent4a8258369a28eb340a1789bc05322475c7ace8f9 (diff)
fix wrong assert
Diffstat (limited to 'Eigen/src/Core')
-rw-r--r--Eigen/src/Core/Matrix.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Eigen/src/Core/Matrix.h b/Eigen/src/Core/Matrix.h
index 16c0ee4ac..caa8d4be6 100644
--- a/Eigen/src/Core/Matrix.h
+++ b/Eigen/src/Core/Matrix.h
@@ -493,7 +493,7 @@ class Matrix
using Base::swap;
inline void swap(Matrix& other)
{
- ei_assert(matrix.rows() == other.rows() && matrix.cols() == other.cols());
+ ei_assert(rows() == other.rows() && cols() == other.cols());
m_storage.swap(other.m_storage);
// FIXME what about using this->Base::swap(other); for fixed size ?
}