Skip to content

Commit

Permalink
Restrict usages of special decomposition.
Browse files Browse the repository at this point in the history
  • Loading branch information
HechtiDerLachs committed Jun 29, 2024
1 parent 6f1fcc1 commit 2cd696e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Rings/mpoly-ideals.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1068,7 +1068,7 @@ julia> L = minimal_primes(I)
function minimal_primes(I::MPolyIdeal; algorithm::Symbol = :GTZ, cache::Bool=true)
has_attribute(I, :minimal_primes) && return get_attribute(I, :minimal_primes)::Vector{typeof(I)}
R = base_ring(I)
if is_zero(dim(I))
if coefficient_ring(R) isa QQField && is_zero(dim(I))
L = Singular.LibAssprimeszerodim.assPrimes(singular_generators(I))
result = typeof(I)[ideal(R, q) for q in L]
cache && set_attribute!(I, :minimal_primes=>result)
Expand Down

0 comments on commit 2cd696e

Please sign in to comment.