File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -263,20 +263,20 @@ let
263
263
264
264
# Update problem parameters using `remake`.
265
265
oprob_new = remake (oprob; p = [k1 => 0.3 , k2 => 0.4 ])
266
- @test oprob_new[k1] == 0.3
267
- @test oprob_new[k2] == 0.4
266
+ @test oprob_new. ps [k1] == 0.3
267
+ @test oprob_new. ps [k2] == 0.4
268
268
integrator = init (oprob_new, Tsit5 ())
269
- @test integrator[k1] == 0.3
270
- @test integrator[k2] == 0.4
269
+ @test integrator. ps [k1] == 0.3
270
+ @test integrator. ps [k2] == 0.4
271
271
272
272
# Update problem parameters using direct indexing.
273
273
oprob[k1] = 0.5
274
274
oprob[k2] = 0.6
275
- @test oprob_new[k1] == 0.5
276
- @test oprob_new[k2] == 0.6
275
+ @test oprob_new. ps [k1] == 0.5
276
+ @test oprob_new. ps [k2] == 0.6
277
277
integrator = init (oprob_new, Tsit5 ())
278
- @test integrator[k1] == 0.5
279
- @test integrator[k2] == 0.6
278
+ @test integrator. ps [k1] == 0.5
279
+ @test integrator. ps [k2] == 0.6
280
280
end
281
281
282
282
# ## Other Tests ###
You can’t perform that action at this time.
0 commit comments