[eigen] Fix for small Map bug.

[ Thread Index | Date Index | More lists.tuxfamily.org/eigen Archives ]


Easy fix.

Keir
Index: src/third_party/eigen2/Eigen/src/Core/Map.h
===================================================================
--- src/third_party/eigen2/Eigen/src/Core/Map.h	(revision 304)
+++ src/third_party/eigen2/Eigen/src/Core/Map.h	(working copy)
@@ -85,7 +85,7 @@
       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)


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/