fix wrong assert

This commit is contained in:
Gael Guennebaud 2009-09-02 14:08:33 +02:00
parent 4a8258369a
commit 496ea63972

View File

@ -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 ?
}