Skip to content

Commit f664a72

Browse files
committed
unittest: do not use upper/lower
- in discussion with @Bambade: the ruiz equilibrator itself can handle H that is only the upper or triangular matrix - the full pipeline of the dense backend needs the entire H matrix
1 parent 7182bcb commit f664a72

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/src/dense_ruiz_equilibration.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ DOCTEST_TEST_CASE("ruiz preconditioner")
1313
int dim = 5;
1414
int n_eq = 6;
1515
int n_in = 0;
16-
auto sym = proxqp::Symmetry::upper; // 0 : upper triangular (by default), 1:
17-
// lower triangular ; else full matrix
16+
auto sym = proxqp::Symmetry::general; // 0 : upper triangular (by default), 1:
17+
// lower triangular ; else full matrix
1818

1919
Scalar sparsity_factor(0.15);
2020
Scalar strong_convexity_factor(0.01);

0 commit comments

Comments
 (0)