Skip to content

Commit 574a433

Browse files
committed
ci: fix benchmark module import
1 parent cead1b6 commit 574a433

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

benchmark/benchmarks.jl

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
using DynamicExpressions, BenchmarkTools, Random
2-
using DynamicExpressions.NodeUtilsModule: is_constant
32

43
# Trigger extensions:
54
using LoopVectorization
@@ -13,6 +12,12 @@ else
1312
@eval using DynamicExpressions: GraphNode
1413
end
1514

15+
if PACKAGE_VERSION < v"0.17.0"
16+
@eval using DynamicExpressions.EquationUtilsModule: is_constant
17+
else
18+
@eval using DynamicExpressions.NodeUtilsModule: is_constant
19+
end
20+
1621
include("../test/tree_gen_utils.jl")
1722

1823
const SUITE = BenchmarkGroup()

0 commit comments

Comments
 (0)