Skip to content

Commit

Permalink
Add unsafe arithmetics for AcbFieldElem
Browse files Browse the repository at this point in the history
  • Loading branch information
lgoettgens committed Oct 25, 2024
1 parent eea3f94 commit 2706d2d
Show file tree
Hide file tree
Showing 2 changed files with 267 additions and 93 deletions.
6 changes: 0 additions & 6 deletions src/HeckeMoreStuff.jl
Original file line number Diff line number Diff line change
Expand Up @@ -78,12 +78,6 @@ function _acb_mat(A::ArbMatrix)
return change_base_ring(Cc, A)
end

function mul!(z::AcbFieldElem, x::AcbFieldElem, y::ArbFieldElem)
ccall((:acb_mul_arb, libflint), Nothing, (Ref{AcbFieldElem}, Ref{AcbFieldElem}, Ref{ArbFieldElem}, Int),
z, x, y, parent(z).prec)
return z
end

@doc raw"""
valuation(G::QQMatrix, p)
Expand Down
Loading

0 comments on commit 2706d2d

Please sign in to comment.