Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
joschmitt committed Feb 7, 2024
1 parent beb1897 commit 892c741
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/AbstractAlgebra.jl
Original file line number Diff line number Diff line change
Expand Up @@ -592,6 +592,7 @@ import .Generic: hash
import .Generic: hooklength
import .Generic: image_fn
import .Generic: image_map
import .Generic: internal_ordering
import .Generic: interreduce!
import .Generic: inv!
import .Generic: inverse_fn
Expand Down Expand Up @@ -637,7 +638,6 @@ import .Generic: normalise
import .Generic: num_coeff
import .Generic: one
import .Generic: order
import .Generic: internal_ordering
import .Generic: parity
import .Generic: partitionseq
import .Generic: perm
Expand Down Expand Up @@ -854,6 +854,7 @@ export image_fn
export image_map
export inflate
export integral
export internal_ordering
export interpolate
export inv!
export invariant_factors
Expand Down Expand Up @@ -986,7 +987,6 @@ export O
export one
export one!
export order
export internal_ordering
export parent_type
export parity
export Partition
Expand Down
2 changes: 1 addition & 1 deletion src/Deprecations.jl
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@ end
Base.@deprecate_binding intersection intersect

# deprecated in 0.37.x
Base.@deprecate_binding ordering internal_ordering
@deprecate ordering(R::MPolyRing) internal_ordering(R::MPolyRing)
2 changes: 1 addition & 1 deletion src/MPoly.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1211,7 +1211,7 @@ end
################################################################################

function _change_mpoly_ring(R, Rx, cached)
P, _ = polynomial_ring(R, map(string, symbols(Rx)), internal_ordering = internal_ordering(Rx), cached = cached)
P, _ = polynomial_ring(R, map(string, symbols(Rx)); internal_ordering = internal_ordering(Rx), cached = cached)
return P
end

Expand Down

0 comments on commit 892c741

Please sign in to comment.