Skip to content

Commit a291a26

Browse files
Update docs/src/tutorials/sde_example.md
1 parent 72675bc commit a291a26

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/src/tutorials/sde_example.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ A[2, 4] = 1
268268
A = sparse(A)
269269
270270
# Make `g!` write the sparse matrix values
271-
function g(du, u, p, t)
271+
function g!(du, u, p, t)
272272
du[1, 1] = 0.3u[1]
273273
du[1, 4] = 0.12u[2]
274274
du[2, 4] = 1.8u[2]

0 commit comments

Comments
 (0)