Skip to content

Commit 3d299ea

Browse files
committed
Fix Libdl deprecation
1 parent 1157e0b commit 3d299ea

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/SymEngine.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ __precompile__()
33
module SymEngine
44

55
import Base: show, convert, real, imag
6-
import Compat: String, unsafe_string, @compat, denominator, numerator, invokelatest, Cvoid, Nothing, MathConstants.γ, MathConstants.e, MathConstants.φ, MathConstants.catalan, LinearAlgebra, finalizer
6+
import Compat: String, unsafe_string, @compat, denominator, numerator, invokelatest, Cvoid, Nothing, MathConstants.γ, MathConstants.e, MathConstants.φ, MathConstants.catalan, LinearAlgebra, finalizer, Libdl
77

88
export Basic, symbols, @vars, @funs, SymFunction
99
export free_symbols, get_args

src/utils.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
"Helper function to lookup a symbol from libsymengine"
22
function get_symbol(sym::Symbol)
3-
handle = Base.Libdl.dlopen_e(libsymengine)
3+
handle = Libdl.dlopen_e(libsymengine)
44
if handle == C_NULL
55
C_NULL
66
else

0 commit comments

Comments
 (0)