Skip to content

Commit

Permalink
Fix format
Browse files Browse the repository at this point in the history
  • Loading branch information
blegat committed May 28, 2024
1 parent 76f634d commit 1a69467
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions src/Certificate/ideal.jl
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,7 @@ end

_reduce_with_domain(basis::MB.SubBasis{MB.Monomial}, ::FullSpace) = basis

function _reduce_with_domain(
basis::MB.SubBasis{MB.Monomial},
domain,
)
function _reduce_with_domain(basis::MB.SubBasis{MB.Monomial}, domain)
I = ideal(domain)
# set of standard monomials that are hit
standard = Set{eltype(basis.monomials)}()
Expand All @@ -70,7 +67,10 @@ function reduced_basis(
gram_bases,
weights,
)
return _reduce_with_domain(_combine_with_gram(basis, gram_bases, weights), domain)
return _reduce_with_domain(
_combine_with_gram(basis, gram_bases, weights),
domain,
)
end

abstract type SimpleIdealCertificate{C,B} <: AbstractIdealCertificate end
Expand Down Expand Up @@ -244,7 +244,10 @@ end
zero_basis(certificate::Remainder) = zero_basis(certificate.gram_certificate)
zero_basis_type(::Type{Remainder{GCT}}) where {GCT} = zero_basis_type(GCT)

function _quotient_basis_type(::Type{B}, ::Type{D}) where {T,I,B<:SA.AbstractBasis{T,I},D}
function _quotient_basis_type(
::Type{B},
::Type{D},
) where {T,I,B<:SA.AbstractBasis{T,I},D}
return MB.QuotientBasis{
T,
I,
Expand Down

0 comments on commit 1a69467

Please sign in to comment.