Skip to content

Commit 856b541

Browse files
fabinschjcarpent
authored andcommitted
ECJ: fix active set
1 parent 51234cf commit 856b541

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/proxsuite/proxqp/dense/compute_ECJ.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ compute_backward(dense::QP<T>& solved_qp,
8383
linesearch::active_set_change(solved_qp.model,
8484
solved_qp.results,
8585
solved_qp.which_dense_backend(),
86-
solved_qp.work.n_c,
86+
solved_qp.model.n_in,
8787
solved_qp.work);
8888
solved_qp.work.constraints_changed = false; // no refactorization afterwards
8989

@@ -115,7 +115,7 @@ compute_backward(dense::QP<T>& solved_qp,
115115
solved_qp.model,
116116
solved_qp.results,
117117
solved_qp.work,
118-
solved_qp.work.n_c,
118+
solved_qp.model.n_in,
119119
solved_qp.which_dense_backend(),
120120
solved_qp.which_hessian_type(),
121121
eps,

0 commit comments

Comments
 (0)