Skip to content

Commit 72c6ee1

Browse files
committed
Fix @example block references in SDE tutorial documentation
Resolves build failure where plotting commands tried to reference solution variables from different @example blocks. - Changed `@example sde` to `@example sde2` for Lorenz SDE plot (line 195) - Changed `@example sde` to `@example sde3` for scalar noise SDE plot (line 235) This fixes the ArgumentError: "Collection has multiple elements, must contain exactly 1 element" that occurred when Documenter.jl tried to execute plotting commands without access to the required solution variables. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
1 parent 7f7e1da commit 72c6ee1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/src/tutorials/sde_example.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ sol = SDE.solve(prob_sde_lorenz);
192192
nothing # hide
193193
```
194194

195-
```@example sde
195+
```@example sde2
196196
Plots.plot(sol, idxs = (1, 2, 3))
197197
```
198198

@@ -232,7 +232,7 @@ sol = SDE.solve(prob, SDE.SRIW1());
232232
nothing # hide
233233
```
234234

235-
```@example sde
235+
```@example sde3
236236
Plots.plot(sol)
237237
```
238238

0 commit comments

Comments
 (0)