mirror of
https://gitlab.com/libeigen/eigen.git
synced 2024-12-15 07:10:37 +08:00
Relaxed checks againts _MaxRows and _MaxCols in Matrix::_check_template_params().
This commit is contained in:
parent
ee92009fd8
commit
f292d2352e
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user