Skip to content

Commit 8b8d817

Browse files
committed
up
1 parent 3161ecb commit 8b8d817

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/variable.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,16 +17,16 @@ end
1717

1818
function JuMP.value(
1919
f::Function,
20-
p::SA.AlgebraElement{A,<:JuMP.AbstractJuMPScalar},
21-
) where {A}
20+
p::SA.AlgebraElement{<:JuMP.AbstractJuMPScalar},
21+
)
2222
return SA.AlgebraElement(JuMP.value.(f, SA.coeffs(p)), parent(p))
2323
end
2424

2525
function JuMP.value(p::MP.AbstractPolynomialLike{<:JuMP.AbstractJuMPScalar})
2626
return JuMP.value(JuMP.value, p)
2727
end
2828

29-
function JuMP.value(p::SA.AlgebraElement{A,<:JuMP.AbstractJuMPScalar}) where {A}
29+
function JuMP.value(p::SA.AlgebraElement{<:JuMP.AbstractJuMPScalar})
3030
return JuMP.value(JuMP.value, p)
3131
end
3232

0 commit comments

Comments
 (0)