Skip to content

Commit

Permalink
Merge pull request #967 from JuliaSymbolics/s/fix-warn
Browse files Browse the repository at this point in the history
Fix warning caused by DynamicPolynomials load
  • Loading branch information
shashi authored Sep 6, 2023
2 parents 76dafc4 + 5256ed7 commit 5aa4ea2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "Symbolics"
uuid = "0c5d862f-8b57-4792-8d23-62f2024744c7"
authors = ["Shashi Gowda <[email protected]>"]
version = "5.5.2"
version = "5.5.3"

[deps]
ArrayInterface = "4fba245c-0d91-5ea0-9b3e-6abc04ee57a9"
Expand Down
4 changes: 2 additions & 2 deletions src/groebner_basis.jl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using DynamicPolynomials
import DynamicPolynomials
using Bijections

const DP = DynamicPolynomials
Expand Down Expand Up @@ -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
Expand Down

2 comments on commit 5aa4ea2

@shashi
Copy link
Member Author

@shashi shashi commented on 5aa4ea2 Sep 6, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/90941

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v5.5.3 -m "<description of version>" 5aa4ea233f57fc946e9d6ecd0ef8064e14fa5d85
git push origin v5.5.3

Please sign in to comment.