From 2bc74fdeb5fcb3ff309888a0d49ae63ccc8ae16e Mon Sep 17 00:00:00 2001 From: Cameron Pfiffer Date: Mon, 4 Feb 2019 07:14:35 -0800 Subject: [PATCH] Fixing typo in the guide. --- docs/src/_docs/guide.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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