mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-08-12 11:49:02 +08:00
bug #1143: Work-around gcc bug
This commit is contained in:
parent
cfff40b1d4
commit
54bf582303
@ -516,7 +516,7 @@ static IndexType init_rows_cols /* returns true if OK, or false otherwise */
|
|||||||
Col [col].start = p [col] ;
|
Col [col].start = p [col] ;
|
||||||
Col [col].length = p [col+1] - p [col] ;
|
Col [col].length = p [col+1] - p [col] ;
|
||||||
|
|
||||||
if (Col [col].length < 0)
|
if ((Col [col].length) < 0) // extra parentheses to work-around gcc bug 10200
|
||||||
{
|
{
|
||||||
/* column pointers must be non-decreasing */
|
/* column pointers must be non-decreasing */
|
||||||
stats [COLAMD_STATUS] = COLAMD_ERROR_col_length_negative ;
|
stats [COLAMD_STATUS] = COLAMD_ERROR_col_length_negative ;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user