Skip to content

Commit

Permalink
Consolidate some using statements and make them explicit (#1691)
Browse files Browse the repository at this point in the history
* Remove some stale imports

* Make some imports explicit
  • Loading branch information
lgoettgens authored Feb 27, 2024
1 parent 4637b63 commit 653656d
Showing 1 changed file with 5 additions and 13 deletions.
18 changes: 5 additions & 13 deletions src/Nemo.jl
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@ import AbstractAlgebra

using Libdl

using Random
using Random: SamplerTrivial
using Random: Random, AbstractRNG, SamplerTrivial
import Random: rand!

using RandomExtensions: RandomExtensions, make, Make2, Make3
Expand Down Expand Up @@ -51,7 +50,6 @@ import Base: atanh
import Base: bin
import Base: binomial
import Base: ceil
import Base: checkbounds
import Base: cispi
import Base: cmp
import Base: conj
Expand Down Expand Up @@ -79,7 +77,6 @@ import Base: hex
import Base: hypot
import Base: imag
import Base: in
import Base: intersect
import Base: inv
import Base: invmod
import Base: isequal
Expand Down Expand Up @@ -132,8 +129,6 @@ import Base: trailing_zeros
import Base: transpose
import Base: trunc
import Base: truncate
import Base: typed_hcat
import Base: typed_hvcat
import Base: vcat
import Base: xor
import Base: zero
Expand All @@ -146,7 +141,6 @@ end
import LinearAlgebra: cholesky
import LinearAlgebra: det
import LinearAlgebra: eigvals
import LinearAlgebra: hessenberg
import LinearAlgebra: lu
import LinearAlgebra: lu!
import LinearAlgebra: norm
Expand Down Expand Up @@ -208,15 +202,13 @@ const eigenvalues = eigvals # alternative name for the function from LinearAlgeb
#
###############################################################################

using Arb_jll
using Antic_jll
using Calcium_jll
using FLINT_jll
using Arb_jll: libarb
using Antic_jll: libantic
using Calcium_jll: libcalcium
using FLINT_jll: libflint

const pkgdir = realpath(joinpath(dirname(@__DIR__)))

const libflint = FLINT_jll.libflint

function flint_abort()
error("Problem in the Flint-Subsystem")
end
Expand Down

0 comments on commit 653656d

Please sign in to comment.