Skip to content

Commit 8e2c9e8

Browse files
test: minor test fix
1 parent 1697f78 commit 8e2c9e8

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

lib/ModelingToolkitBase/test/analysis_points.jl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ using Test
66
using ModelingToolkitBase: t_nounits as t, D_nounits as D, AnalysisPoint, AbstractSystem
77
import ModelingToolkitBase as MTK
88
import ControlSystemsBase as CS
9+
using SciCompDSL
10+
using ModelingToolkitStandardLibrary
11+
912
using Symbolics: NAMESPACE_SEPARATOR
1013

1114
@testset "AnalysisPoint is lowered to `connect`" begin

lib/ModelingToolkitBase/test/symbolic_events.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -646,7 +646,7 @@ end
646646
ps = @parameters k=k Θ=0.5
647647
eqs = [D(x) ~ v, D(v) ~ -k * x + F]
648648
ev = [x ~ Θ] => [x ~ 1.0, v ~ 0.0]
649-
System(eqs, t, sts, ps, continuous_events = [ev]; name)
649+
System(eqs, t, sts, ps; continuous_events = [ev], name)
650650
end
651651

652652
@named oscce = oscillator_ce()

0 commit comments

Comments
 (0)