Skip to content

Commit 596a480

Browse files
committed
use MH instead of NUTS to avoid triggering ForwardDiff error
1 parent b8f6508 commit 596a480

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

developers/compiler/model-manual/index.qmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ model2 = gdemo2([1.5, 2.0])
6666
We can sample from this model in the same way:
6767

6868
```{julia}
69-
chain = sample(model2, NUTS(), 1000; progress=false)
69+
chain = sample(model2, MH(), 1000; progress=false)
7070
```
7171

7272
The subsequent pages in this section will show how the `@model` macro does this behind-the-scenes.

0 commit comments

Comments
 (0)