Skip to content

Commit 108d530

Browse files
Update tutorials/DiffEqUncertainty/02-AD_and_optimization.jmd
1 parent cd6e581 commit 108d530

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tutorials/DiffEqUncertainty/02-AD_and_optimization.jmd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ The probability of impacting the wall is now
277277
```
278278
We can check if this is within tolerance by
279279
```julia
280-
λ - 0.01 <= 1e-5
280+
abs(λ - 0.01) <= 1e-5
281281
```
282282

283283
Again, we plot some Monte Carlo simulations from this result as follows
@@ -305,4 +305,4 @@ end
305305
```{julia; echo=false; skip="notebook"}
306306
using SciMLTutorials
307307
SciMLTutorials.tutorial_footer(WEAVE_ARGS[:folder],WEAVE_ARGS[:file])
308-
```
308+
```

0 commit comments

Comments
 (0)