diff options
author | 2009-05-29 09:09:48 +0200 | |
---|---|---|
committer | 2009-05-29 09:09:48 +0200 | |
commit | f292d2352e0ac9be8a9c5b0d931dc9a2c6da1aa0 (patch) | |
tree | 16f97fe83340cc61ef7442e58baf1662fcf955e9 /Eigen/src/Core | |
parent | ee92009fd8f178111218ac4721d225237efad0b7 (diff) |
Relaxed checks againts _MaxRows and _MaxCols in Matrix::_check_template_params().
Diffstat (limited to 'Eigen/src/Core')
-rw-r--r-- | Eigen/src/Core/Matrix.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Eigen/src/Core/Matrix.h b/Eigen/src/Core/Matrix.h index d75d61413..b5a90dfdf 100644 --- a/Eigen/src/Core/Matrix.h +++ b/Eigen/src/Core/Matrix.h @@ -532,8 +532,8 @@ class Matrix { EIGEN_STATIC_ASSERT(((_Rows >= _MaxRows) && (_Cols >= _MaxCols) - && (_MaxRows >= 1) - && (_MaxCols >= 1) + && (_MaxRows >= 0) + && (_MaxCols >= 0) && (_Rows <= Dynamic) && (_Cols <= Dynamic) && (_MaxRows == _Rows || _Rows==Dynamic) |