Skip to content

Commit

Permalink
addinequality! -> add_inequality!
Browse files Browse the repository at this point in the history
  • Loading branch information
stephanmg committed Nov 17, 2023
1 parent 680fd90 commit 21086ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/convexityparameter/JuMP.jl
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ bss() = SAS.BasicSemialgebraicSet{Float64, DynamicPolynomials.Polynomial{true, F
function get_domain_inequalities(dom::PolyUtils.BoxDomain, x)
box = bss()
for (xi, ui, li) in zip(x, dom.u, dom.l)
SAS.addinequality!(box, (-xi + ui) * (xi - li))
SAS.add_inequality!(box, (-xi + ui) * (xi - li))
end
return box
end
Expand Down

0 comments on commit 21086ce

Please sign in to comment.