Skip to content

Commit 9a0ba96

Browse files
fixup! refactor: update implementation of discrete save interface
1 parent 465594d commit 9a0ba96

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/mtkparameters.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ with_updated_parameter_timeseries_values(
299299
sys, ps, 1 => ModelingToolkit.NestedGetIndex(([5.0, 10.0],)))
300300
@test ps.discrete[1][1] == [5.0, 10.0]
301301
with_updated_parameter_timeseries_values(
302-
ps, 1 => ModelingToolkit.NestedGetIndex(([3.0, 30.0],)),
302+
sys, ps, 1 => ModelingToolkit.NestedGetIndex(([3.0, 30.0],)),
303303
2 => ModelingToolkit.NestedGetIndex(([4.0, 40.0],)))
304304
@test ps.discrete[1][1] == [3.0, 30.0]
305305
@test ps.discrete[2][1] == [4.0, 40.0]

0 commit comments

Comments
 (0)