We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d3c6d6e commit b45eef0Copy full SHA for b45eef0
core-functionality/index.qmd
@@ -475,7 +475,10 @@ Example usage:
475
k = length(unique(g))
476
a ~ filldist(Exponential(), k) # = Product(fill(Exponential(), k))
477
mu = a[g]
478
- return x .~ Normal.(mu)
+ for i in eachindex(x)
479
+ x[i] ~ Normal(mu[i])
480
+ end
481
+ return mu
482
end
483
```
484
@@ -491,7 +494,10 @@ Example usage:
491
494
492
495
a ~ arraydist([Exponential(i) for i in 1:k])
493
496
497
498
499
500
501
502
503
0 commit comments