diff --git a/docs/src/_docs/guide.md b/docs/src/_docs/guide.md index 34a271e93..ae18892d8 100644 --- a/docs/src/_docs/guide.md +++ b/docs/src/_docs/guide.md @@ -169,7 +169,7 @@ model = gdemo(fill(missing, 2)) c = sample(model, HMC(500, 0.01, 5)) ``` -The above case tells the model compiler the dimensions of the values it needs to generate. The generated values for `x` can be extracted from the `Chains` object using `c[x]`. +The above case tells the model compiler the dimensions of the values it needs to generate. The generated values for `x` can be extracted from the `Chains` object using `c[:x]`. #### Using Argument Defaults