We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0e1c582 commit 553047bCopy full SHA for 553047b
src/SCIP.jl
@@ -9,9 +9,6 @@ import LinearAlgebra
9
import MathOptInterface as MOI
10
import OpenBLAS32_jll
11
12
-# Use version aware for public while Julia 1.10 is supported.
13
-VERSION >= v"1.11.0-DEV.469" && eval(Meta.parse("public Optimizer"))
14
-
15
# assorted utility functions
16
include("util.jl")
17
@@ -49,4 +46,10 @@ include("compat.jl")
49
46
50
47
# Event handler
51
48
include("event_handler.jl")
+
+# Use version aware for public while Julia 1.10 is supported.
+@static if VERSION >= v"1.11.0-DEV.469"
52
+ eval(Meta.parse("public Optimizer"))
53
+end
54
55
end
0 commit comments