Skip to content

Commit

Permalink
fixup! refactor: update implementation of discrete save interface
Browse files Browse the repository at this point in the history
  • Loading branch information
AayushSabharwal committed Jul 24, 2024
1 parent 465594d commit 9a0ba96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/mtkparameters.jl
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ with_updated_parameter_timeseries_values(
sys, ps, 1 => ModelingToolkit.NestedGetIndex(([5.0, 10.0],)))
@test ps.discrete[1][1] == [5.0, 10.0]
with_updated_parameter_timeseries_values(
ps, 1 => ModelingToolkit.NestedGetIndex(([3.0, 30.0],)),
sys, ps, 1 => ModelingToolkit.NestedGetIndex(([3.0, 30.0],)),
2 => ModelingToolkit.NestedGetIndex(([4.0, 40.0],)))
@test ps.discrete[1][1] == [3.0, 30.0]
@test ps.discrete[2][1] == [4.0, 40.0]
Expand Down

0 comments on commit 9a0ba96

Please sign in to comment.