Skip to content

Commit

Permalink
Fix another performance regression
Browse files Browse the repository at this point in the history
  • Loading branch information
sumiya11 committed Nov 18, 2024
1 parent 5741d23 commit 92e1d3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/input_output/AbstractAlgebra.jl
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ function io_extract_ring(polynomials)
else
# Detect that K is either AbstractAlgebra.QQ or Nemo.QQ
base = AbstractAlgebra.base_ring(K)
if !(hasmethod(AbstractAlgebra.base_ring, typeof(base)))
if !(hasmethod(AbstractAlgebra.base_ring, (typeof(base),)))
ground = :generic
elseif !(AbstractAlgebra.base_ring(base) == Union{})
ground = :generic
Expand Down

0 comments on commit 92e1d3e

Please sign in to comment.