JuliaAlgebra / DynamicPolynomials.jl

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

Fix for Issue #92 - Keeping Variables when Substituting #93

Closed manuelbb-upb closed 2 years ago

manuelbb-upb commented 2 years ago

This is a simple fix to Issue #92. All I did was change zero(Polynomial{C, Tout}} to zero_with_variables(Polynomial{C, Tout}, variables(p) and add two lines of "testing".