JuliaAlgebra / DynamicPolynomials.jl

Multivariate polynomials implementation of commutative and non-commutative variables
Other
59 stars 21 forks source link

Addition of `PolyVar` and `Irrational` fails #114

Closed bowenszhu closed 1 year ago

bowenszhu commented 2 years ago
using DynamicPolynomials
@polyvar x
x + π

gives

ERROR: MethodError: no method matching Int64(::Irrational{:π})
...

This is caused by jump-dev/MutableArithmetics.jl#164

bowenszhu commented 1 year ago

Fixed by https://github.com/jump-dev/MutableArithmetics.jl/pull/165