mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-01-18 14:34:17 +08:00
Workaround the following warning: "assuming signed overflow does not occur when assuming that (X + c) < X is always false"
This commit is contained in:
parent
a1091caa43
commit
cf259ce590
@ -137,8 +137,8 @@ template<typename XprType, int BlockRows, int BlockCols, bool InnerPanel> class
|
||||
{
|
||||
eigen_assert((RowsAtCompileTime==Dynamic || RowsAtCompileTime==blockRows)
|
||||
&& (ColsAtCompileTime==Dynamic || ColsAtCompileTime==blockCols));
|
||||
eigen_assert(a_startRow >= 0 && blockRows >= 0 && a_startRow + blockRows <= xpr.rows()
|
||||
&& a_startCol >= 0 && blockCols >= 0 && a_startCol + blockCols <= xpr.cols());
|
||||
eigen_assert(a_startRow >= 0 && blockRows >= 0 && a_startRow <= xpr.rows() - blockRows
|
||||
&& a_startCol >= 0 && blockCols >= 0 && a_startCol <= xpr.cols() - blockCols);
|
||||
}
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user