Skip to content

Commit

Permalink
Update include/proxsuite/proxqp/dense/solver.hpp
Browse files Browse the repository at this point in the history
Co-authored-by: Justin Carpentier <[email protected]>
  • Loading branch information
fabinsch and jcarpent authored Aug 21, 2024
1 parent c5f734b commit bc54ff3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/proxsuite/proxqp/dense/solver.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ mu_update(const Model<T>& qpmodel,
{
LDLT_TEMP_MAT_UNINIT(T, new_cols, qpmodel.dim, qpwork.n_c, stack);
qpwork.dw_aug.head(qpmodel.dim).setOnes();
T delta_mu(1 / mu_in_new - qpresults.info.mu_in_inv);
T delta_mu(T(1) / mu_in_new - qpresults.info.mu_in_inv);
qpwork.dw_aug.head(qpmodel.dim).array() *= delta_mu;
for (isize i = 0; i < n_constraints; ++i) {
isize j = qpwork.current_bijection_map[i];
Expand Down

0 comments on commit bc54ff3

Please sign in to comment.