Skip to content

Commit 80a2510

Browse files
ci: fix benchmark script
1 parent 5d06442 commit 80a2510

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

benchmark/benchmarks.jl

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
using ModelingToolkit, BenchmarkTools
22
using ModelingToolkitStandardLibrary
3-
using ModelingToolkitStandardLibrary.Thermal
3+
using ModelingToolkitStandardLibrary.Electrical
4+
using ModelingToolkitStandardLibrary.Mechanical.Rotational
5+
using ModelingToolkitStandardLibrary.Blocks
46
using OrdinaryDiffEqDefault
57

68
const SUITE = BenchmarkGroup()
@@ -51,4 +53,4 @@ tspan = (0.0, 6.0)
5153
SUITE["ODEProblem"] = @benchmarkable ODEProblem($model, $u0, $tspan)
5254

5355
prob = ODEProblem(model, u0, tspan)
54-
SUITE["init"] = init($prob)
56+
SUITE["init"] = @benchmarkable init($prob)

0 commit comments

Comments
 (0)