diff options
Diffstat (limited to 'Eigen/src/Sparse/CholmodSupport.h')
-rw-r--r-- | Eigen/src/Sparse/CholmodSupport.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Eigen/src/Sparse/CholmodSupport.h b/Eigen/src/Sparse/CholmodSupport.h index c98ca2125..6689a4669 100644 --- a/Eigen/src/Sparse/CholmodSupport.h +++ b/Eigen/src/Sparse/CholmodSupport.h @@ -69,9 +69,9 @@ cholmod_sparse SparseMatrix<Scalar,Flags>::asCholmodMatrix() if (Flags & SelfAdjoint) { - if (Flags & Upper) + if (Flags & UpperTriangular) res.stype = 1; - else if (Flags & Lower) + else if (Flags & LowerTriangular) res.stype = -1; else res.stype = 0; |