From eb810694b0c1f1344a9fc54026f28535289caabb Mon Sep 17 00:00:00 2001 From: Leandro Martinez Date: Mon, 21 Aug 2023 15:50:46 -0300 Subject: [PATCH] change conditional test order --- src/precompile.jl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/precompile.jl b/src/precompile.jl index cc3f9a0f..4468d5c0 100644 --- a/src/precompile.jl +++ b/src/precompile.jl @@ -1,7 +1,7 @@ -@setup_workload begin - # Putting some things in `@setup_workload` instead of `@compile_workload` can reduce the size of the - # precompile file and potentially make loading faster. - if Base.VERSION >= v"1.9" +if Base.VERSION >= v"1.9" + @setup_workload begin + # Putting some things in `@setup_workload` instead of `@compile_workload` can reduce the size of the + # precompile file and potentially make loading faster. cutoff = 0.05 x3d = rand(3, 100) y3d = rand(3, 100)