diff options
author | Christoph Hertzberg <chtz@informatik.uni-bremen.de> | 2016-01-06 11:59:24 +0100 |
---|---|---|
committer | Christoph Hertzberg <chtz@informatik.uni-bremen.de> | 2016-01-06 11:59:24 +0100 |
commit | 54bf582303407387f9a34d99c8993aa3255274ec (patch) | |
tree | 75398c039ee69e84f1a6fe2a1d3e2eed1de9988c /Eigen | |
parent | cfff40b1d48999d354be34c984c83f7d0f1ca5cb (diff) |
bug #1143: Work-around gcc bug
Diffstat (limited to 'Eigen')
-rw-r--r-- | Eigen/src/OrderingMethods/Eigen_Colamd.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Eigen/src/OrderingMethods/Eigen_Colamd.h b/Eigen/src/OrderingMethods/Eigen_Colamd.h index 6238676e5..70c987afa 100644 --- a/Eigen/src/OrderingMethods/Eigen_Colamd.h +++ b/Eigen/src/OrderingMethods/Eigen_Colamd.h @@ -516,7 +516,7 @@ static IndexType init_rows_cols /* returns true if OK, or false otherwise */ Col [col].start = 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 */ stats [COLAMD_STATUS] = COLAMD_ERROR_col_length_negative ; |