aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen/src/OrderingMethods
diff options
context:
space:
mode:
authorGravatar Christoph Hertzberg <chtz@informatik.uni-bremen.de>2016-01-06 11:59:24 +0100
committerGravatar Christoph Hertzberg <chtz@informatik.uni-bremen.de>2016-01-06 11:59:24 +0100
commit54bf582303407387f9a34d99c8993aa3255274ec (patch)
tree75398c039ee69e84f1a6fe2a1d3e2eed1de9988c /Eigen/src/OrderingMethods
parentcfff40b1d48999d354be34c984c83f7d0f1ca5cb (diff)
bug #1143: Work-around gcc bug
Diffstat (limited to 'Eigen/src/OrderingMethods')
-rw-r--r--Eigen/src/OrderingMethods/Eigen_Colamd.h2
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 ;