Skip to content

Commit

Permalink
Fix nlopt ego code
Browse files Browse the repository at this point in the history
  • Loading branch information
relf committed Oct 19, 2023
1 parent f0ad26e commit a28268a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ego/src/optimizer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ impl<'a> Optimizer<'a> {
.add_inequality_constraint(
cstr,
self.user_data.clone(),
self.cstr_tol[i] / self.user_data.scale_cstr[i],
cstr_tol[i] / self.user_data.scale_cstr[i],
)
.unwrap();
});
Expand Down

0 comments on commit a28268a

Please sign in to comment.