Skip to content

Commit

Permalink
Fix bug in bounds selection (#137)
Browse files Browse the repository at this point in the history
  • Loading branch information
tmigot authored Apr 19, 2024
1 parent 0ec0eed commit 247364c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/selection.jl
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ function select_optimizers(
end
if has_bounds(nlp)
(verbose 1) && println("- bounds: ✓;")
select = select[select.inequalities, :]
select = select[select.bounds, :]
end
if !linearly_constrained(nlp)
(verbose 1) && println("- nonlinear constraints: ✓;")
Expand Down

0 comments on commit 247364c

Please sign in to comment.