Skip to content

Commit

Permalink
Merge pull request #587 from Nemocas/th/antictypes
Browse files Browse the repository at this point in the history
Adjust supertypes of antic types
  • Loading branch information
wbhart authored May 4, 2019
2 parents bb6925b + 1f14c32 commit 3fcf826
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/antic/AnticTypes.jl
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

const AnticNumberFieldID = Dict{Tuple{FmpqPolyRing, fmpq_poly, Symbol}, Field}()

mutable struct AnticNumberField <: Field
mutable struct AnticNumberField <: SimpleNumField{fmpq}
pol_coeffs::Ptr{Nothing}
pol_den::Int
pol_alloc::Int
Expand Down Expand Up @@ -66,7 +66,7 @@ function _AnticNumberField_clear_fn(a::AnticNumberField)
ccall((:nf_clear, :libantic), Nothing, (Ref{AnticNumberField},), a)
end

mutable struct nf_elem <: FieldElem
mutable struct nf_elem <: SimpleNumFieldElem{fmpq}
elem_coeffs::Ptr{Nothing}
elem_den::Int
elem_alloc::Int
Expand Down

0 comments on commit 3fcf826

Please sign in to comment.