Skip to content

Commit

Permalink
Return AlgebraElement from Poly
Browse files Browse the repository at this point in the history
  • Loading branch information
blegat committed Jun 20, 2024
1 parent 25246dc commit 357a511
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/variable.jl
Original file line number Diff line number Diff line change
Expand Up @@ -107,5 +107,5 @@ function JuMP.add_variable(
end
return vref
end
return MP.polynomial(_newvar, v.p.polynomial_basis)
return MB.algebra_element(_newvar, v.p.polynomial_basis)
end

0 comments on commit 357a511

Please sign in to comment.