Skip to content

Commit

Permalink
Avoid ambiguity with AA methods
Browse files Browse the repository at this point in the history
  • Loading branch information
fingolfin committed Oct 8, 2023
1 parent 5ddb51d commit c6cfe23
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions src/GenOrd/Auxiliary.jl
Original file line number Diff line number Diff line change
Expand Up @@ -72,19 +72,11 @@ function hnf_modular(M::MatElem{T}, d::T, is_prime::Bool = false) where {T}
return H[1:ncols(M), :]
end

function function_field(f::PolyElem{<:Generic.RationalFunctionFieldElem}, s::String = "_a"; check::Bool = true, cached::Bool = false)
function function_field(f::PolyElem{<:Generic.RationalFunctionFieldElem}, s::VarName = :_a; check::Bool = true, cached::Bool = false)
return function_field(f, s, cached = cached)
end

function function_field(f::PolyElem{<:Generic.RationalFunctionFieldElem}, s::Symbol; check::Bool = true, cached::Bool = false)
return function_field(f, s, cached = cached)
end

function extension_field(f::PolyElem{<:Generic.RationalFunctionFieldElem}, s::String = "_a"; check::Bool = true, cached::Bool = false)
return function_field(f, s, cached = cached)
end

function extension_field(f::PolyElem{<:Generic.RationalFunctionFieldElem}, s::Symbol; check::Bool = true, cached::Bool = false)
function extension_field(f::PolyElem{<:Generic.RationalFunctionFieldElem}, s::VarName = :_a; check::Bool = true, cached::Bool = false)
return function_field(f, s, cached = cached)

Check warning on line 80 in src/GenOrd/Auxiliary.jl

View check run for this annotation

Codecov / codecov/patch

src/GenOrd/Auxiliary.jl#L79-L80

Added lines #L79 - L80 were not covered by tests
end

Expand Down

0 comments on commit c6cfe23

Please sign in to comment.