Skip to content

Commit

Permalink
Clean up #1515
Browse files Browse the repository at this point in the history
  • Loading branch information
thofma committed Jul 27, 2023
1 parent 9405a0d commit bb289cc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Nemo.jl
Original file line number Diff line number Diff line change
Expand Up @@ -107,16 +107,16 @@ end

# check whether we are using flint version >= 3.0 (or some recent enough dev version),
# which changed the layout of some structs
_ptr = Libc.Libdl.dlopen(libflint)
if Libc.Libdl.dlsym(_ptr, :_fmpz_mod_vec_set_fmpz_vec_threaded; throw_error = false) !== nothing
_ptr = Libdl.dlopen(libflint)
if Libdl.dlsym(_ptr, :_fmpz_mod_vec_set_fmpz_vec_threaded; throw_error = false) !== nothing
const NEW_FLINT = true
libantic = libflint
libarb = libflint
libcalcium = libflint
else
const NEW_FLINT = false
end
Libc.Libdl.dlclose(_ptr)
Libdl.dlclose(_ptr)

################################################################################
#
Expand Down

0 comments on commit bb289cc

Please sign in to comment.