Skip to content

Commit 04f0c33

Browse files
authored
try @static
1 parent 3185e61 commit 04f0c33

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/runtests.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ using Cbc
55
using JuMP
66
using LinearAlgebra: I
77

8-
if !Sys.iswindows() && Sys.ARCH == :x86_64
8+
@static if !Sys.iswindows() && Sys.ARCH == :x86_64
99
using Pkg
1010
Pkg.add("BlossomV")
1111
import BlossomV # to test the extension
@@ -144,7 +144,7 @@ end
144144

145145
@testset "minimum_weight_perfect_matching" begin
146146
algos = Any[LEMONMWPMAlgorithm()]
147-
if !Sys.iswindows() && Sys.ARCH == :x86_64
147+
@static if !Sys.iswindows() && Sys.ARCH == :x86_64
148148
push!(algos, BlossomVAlgorithm())
149149
end
150150
for algorithm in algos

0 commit comments

Comments
 (0)