Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
blegat committed Jul 10, 2024
1 parent 9ff438c commit c526218
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/Certificate/ideal.jl
Original file line number Diff line number Diff line change
Expand Up @@ -65,10 +65,6 @@ function _reduce_with_domain(
)
end

_zero_basis(c::SimpleIdealCertificate) = c.zero_basis

_zero_basis(c::Remainder) = _zero_basis(c.gram_certificate)

function zero_basis(
cert::AbstractIdealCertificate,
basis,
Expand Down Expand Up @@ -281,10 +277,14 @@ function _quotient_basis_type(
}
end

_zero_basis(c::SimpleIdealCertificate) = c.zero_basis

function _zero_basis_type(::Type{<:SimpleIdealCertificate{C,G,Z}}) where {C,G,Z}
return Z
end

_zero_basis(c::Remainder) = _zero_basis(c.gram_certificate)

function _zero_basis_type(::Type{Remainder{C}}) where {C}
return _zero_basis_type(C)
end
Expand Down

0 comments on commit c526218

Please sign in to comment.