diff --git a/Project.toml b/Project.toml index 82c5619dd..b817c517a 100644 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "Symbolics" uuid = "0c5d862f-8b57-4792-8d23-62f2024744c7" authors = ["Shashi Gowda "] -version = "5.5.2" +version = "5.5.3" [deps] ArrayInterface = "4fba245c-0d91-5ea0-9b3e-6abc04ee57a9" diff --git a/src/groebner_basis.jl b/src/groebner_basis.jl index d0b454a39..6446ab4f7 100644 --- a/src/groebner_basis.jl +++ b/src/groebner_basis.jl @@ -1,4 +1,4 @@ -using DynamicPolynomials +import DynamicPolynomials using Bijections const DP = DynamicPolynomials @@ -30,7 +30,7 @@ function symbol_to_poly(sympolys::AbstractArray) # Convert all to DP.Polynomial, so that coefficients are of same type, # and constants are treated as polynomials # We also need this because Groebner does not support abstract types as input - polynoms = Vector{DP.Polynomial{DP.Commutative{DP.CreationOrder}, Graded{LexOrder}, commontype}}(undef, length(sympolys)) + polynoms = Vector{DP.Polynomial{DP.Commutative{DP.CreationOrder}, DP.Graded{DP.LexOrder}, commontype}}(undef, length(sympolys)) for (i, pf) in enumerate(polyforms) polynoms[i] = underlyingpoly(pf) end