bugfix in Map by Keir Mierle

This commit is contained in:
Gael Guennebaud
2009-01-18 09:53:06 +00:00
parent 22792c696f
commit 0c7974dd4d
3 changed files with 117 additions and 15 deletions

View File

@@ -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)