Skip to content

Commit d79630c

Browse files
committed
update DiscreteProblem to take network in README
1 parent 34bbed5 commit d79630c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ ssol = solve(sprob, EM(), dt=.01)
120120

121121
# solve JumpProblem
122122
u0 = [5]
123-
dprob = DiscreteProblem(u0, tspan, params)
123+
dprob = DiscreteProblem(rs, u0, tspan, params)
124124
jprob = JumpProblem(dprob, Direct(), rs)
125125
jsol = solve(jprob, SSAStepper())
126126
```

0 commit comments

Comments
 (0)