Skip to content

Commit

Permalink
Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
blegat committed Jul 3, 2024
1 parent 2b5a47b commit 1bc047c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/src/tutorials/Getting started/motzkin.jl
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ value(deno)
# We can easily extend `Plots` by adding a recipe to plot bivariate polynomials.

using RecipesBase
@recipe function f(x::AbstractVector, y::AbstractVector, p::Polynomial)
@recipe function f(x::AbstractVector, y::AbstractVector, p::AbstractPolynomial)
x, y, (x, y) -> p(variables(p) => [x, y])
end
import Plots
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,4 +63,4 @@ JuMP.primal_status(model)
# We can now obtain this feasible solution with:

value(V)
@test iszero(remove_monomials(value(V), monos)) #src
@test iszero(remove_monomials(MP.polynomial(value(V)), monos)) #src

0 comments on commit 1bc047c

Please sign in to comment.