[eigen] Fix for small Map bug. |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/eigen Archives
]
- To: eigen <eigen@xxxxxxxxxxxxxxxxxxx>
- Subject: [eigen] Fix for small Map bug.
- From: Keir Mierle <mierle@xxxxxxxxx>
- Date: Sun, 18 Jan 2009 01:20:50 -0800
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=WsVPF0SOWEeuLiM8VModDeQEF8HbYxoLWG/MDDG0nSg=; b=Opvy0NFov4uF6bjtJM7i/6khPTiPOPkNA6D7b+GRKgN29fmy1/ZLOXJ897ZhMttjTk tKUFUKTxJyYgPhEcsTgdeDza7vwA636qzE+cn/Nf8Fd5HntLYtTMsNL/nXJHbye5qwBq ksOesjZtdHlX+WlLprPQnqgpjhiQoYPwiCN0w=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=go7Fnb5gW97qgkUzsZz/2dNYUYN8/xr2bZ0Vdf5gK9vY8m1jBYq9NZsVPwMyf2BqU7 vkMBFaz9/LGuntkor8fRR7aoV7mZRM8Ppz+81xTsNj/ix8dkMYOVTR9D56VcWxQI2oLj mOCKKh9GTrvaP43ehncwS4aPpXL5NmLu4Wc5g=
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)