mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-08-12 19:59:05 +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)
|
EIGEN_STATIC_ASSERT(((_Rows >= _MaxRows)
|
||||||
&& (_Cols >= _MaxCols)
|
&& (_Cols >= _MaxCols)
|
||||||
&& (_MaxRows >= 1)
|
&& (_MaxRows >= 0)
|
||||||
&& (_MaxCols >= 1)
|
&& (_MaxCols >= 0)
|
||||||
&& (_Rows <= Dynamic)
|
&& (_Rows <= Dynamic)
|
||||||
&& (_Cols <= Dynamic)
|
&& (_Cols <= Dynamic)
|
||||||
&& (_MaxRows == _Rows || _Rows==Dynamic)
|
&& (_MaxRows == _Rows || _Rows==Dynamic)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user