Skip to content

Commit b160316

Browse files
test: fix depwarn in dde test
1 parent f632576 commit b160316

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/dde.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ sol = solve(prob, MethodOfSteps(Tsit5()))
124124
obsfn = ModelingToolkit.build_explicit_observed_function(
125125
sys, [sys.osc1.delx, sys.osc2.delx])
126126
@test_nowarn sol[[sys.osc1.delx, sys.osc2.delx]]
127-
@test sol[sys.osc1.delx] sol(sol.t .- 0.01; idxs = sys.osc1.x)
127+
@test sol[sys.osc1.delx] sol(sol.t .- 0.01; idxs = sys.osc1.x).u
128128

129129
@testset "DDE observed with array variables" begin
130130
@component function valve(; name)

0 commit comments

Comments
 (0)