Skip to content

Commit

Permalink
fix dual regularization
Browse files Browse the repository at this point in the history
  • Loading branch information
frapac committed Aug 23, 2021
1 parent 6e47931 commit 286c3b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/kktsystem.jl
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ end

function regularize_diagonal!(kkt::AbstractKKTSystem, primal, dual)
kkt.pr_diag .+= primal
kkt.du_diag .= dual
kkt.du_diag .= .-dual
end

# Fix variable treatment
Expand Down

0 comments on commit 286c3b4

Please sign in to comment.