@@ -20,7 +20,7 @@ namespace Ipopt
2020 * This defines the general interface to linear solvers for sparse
2121 * symmetric indefinite matrices. The matrices can be provided
2222 * either in "triplet format" (like for Harwell's MA27 solver), or
23- * in compressed sparse row (CSR) format for the lower triangular
23+ * in compressed sparse row (CSR) format for the upper triangular
2424 * part of the symmetric matrix.
2525 *
2626 * The solver should be able to compute the inertia of the matrix,
@@ -101,13 +101,13 @@ class SparseSymLinearSolverInterface: public AlgorithmStrategyObject
101101 {
102102 /* * Triplet (MA27) format */
103103 Triplet_Format,
104- /* * Compressed sparse row format for lower triangular part, with 0 offset */
104+ /* * Compressed sparse row format for upper triangular part, with 0 offset */
105105 CSR_Format_0_Offset,
106- /* * Compressed sparse row format for lower triangular part, with 1 offset */
106+ /* * Compressed sparse row format for upper triangular part, with 1 offset */
107107 CSR_Format_1_Offset,
108- /* * Compressed sparse row format for both lwr and upr parts, with 0 offset */
108+ /* * Compressed sparse row format for both lower and upper parts, with 0 offset */
109109 CSR_Full_Format_0_Offset,
110- /* * Compressed sparse row format for both lwr and upr parts, with 1 offset */
110+ /* * Compressed sparse row format for both lower and upper parts, with 1 offset */
111111 CSR_Full_Format_1_Offset
112112 };
113113
0 commit comments