Skip to content

Commit e2c1558

Browse files
authored
test fix
1 parent f96e89c commit e2c1558

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/network_analysis/conservation_laws.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -270,8 +270,8 @@ let
270270
@test integrator.ps[k2] == 0.4
271271

272272
# Update problem parameters using direct indexing.
273-
oprob[k1] = 0.5
274-
oprob[k2] = 0.6
273+
oprob.ps[k1] = 0.5
274+
oprob.ps[k2] = 0.6
275275
@test oprob_new.ps[k1] == 0.5
276276
@test oprob_new.ps[k2] == 0.6
277277
integrator = init(oprob_new, Tsit5())
@@ -360,4 +360,4 @@ let
360360
# sol = solve(oprob, Vern7())
361361
# @test sol[X[1]][end] ≈ 8.0
362362
# @test sol[X[2]][end] ≈ 4.0
363-
end
363+
end

0 commit comments

Comments
 (0)