Skip to content

Commit

Permalink
Adjust to AbstractAlgebra renaming (#783)
Browse files Browse the repository at this point in the history
* Adjust to AbstractAlgebra renaming

* Bump AbstractAlgebra and Nemo
  • Loading branch information
joschmitt authored Feb 20, 2024
1 parent 6c7755c commit 17602d6
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
4 changes: 2 additions & 2 deletions Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@ lib4ti2_jll = "1493ae25-0f90-5c0e-a06c-8c5077d6d66f"
libsingular_julia_jll = "ae4fbd8f-ecdb-54f8-bbce-35570499b30e"

[compat]
AbstractAlgebra = "0.37, 0.38, 0.39"
AbstractAlgebra = "0.40"
BinaryWrappers = "~0.1.1"
CxxWrap = "0.14"
Libdl = "1.6"
LinearAlgebra = "1.6"
Nemo = "0.41, 0.42"
Nemo = "0.43"
Pidfile = "1.3"
Pkg = "1.6"
Random = "1.6"
Expand Down
6 changes: 3 additions & 3 deletions src/Singular.jl
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,10 @@ import Nemo: add!, addeq!, base_ring, canonical_unit,
divides, domain, elem_type, evaluate, exponent_vectors,
factor_squarefree,
finish, gcdinv, gen, gens, intersect, is_constant,
is_gen, is_monomial, inflate, is_negative, isone,
is_term, is_unit, iszero, lift, leading_coefficient,
is_gen, is_monomial, inflate, internal_ordering, is_negative,
isone, is_term, is_unit, iszero, lift, leading_coefficient,
leading_term, leading_monomial, monomials,
MPolyBuildCtx, mul!, number_of_variables, nvars, ordering, parent_type,
MPolyBuildCtx, mul!, number_of_variables, nvars, parent_type,
parent, primpart, promote_rule, push_term!,
reconstruct, remove, sort_terms!,
symbols, tail, terms, total_degree, trailing_coefficient, valuation,
Expand Down
3 changes: 3 additions & 0 deletions src/poly/poly.jl
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,9 @@ function ordering(R::PolyRingUnion)
return R.ord
end

# For compatibility with AbstractAlgebra
internal_ordering(R::PolyRingUnion) = ordering(R)

@doc raw"""
is_ordering_symbolic(R::PolyRing)
Expand Down

0 comments on commit 17602d6

Please sign in to comment.