Skip to content

Commit 519679d

Browse files
committed
fix decision analysis code to fix #498
1 parent fba5acd commit 519679d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/stan-users-guide/decision-analysis.qmd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -186,8 +186,8 @@ model {
186186
generated quantities {
187187
array[4] real util;
188188
for (k in 1:4) {
189-
util[k] = U(lognormal_rng(mu[k], sigma[k]),
190-
lognormal_rng(nu[k], tau[k]));
189+
util[k] = U(lognormal_rng(nu[k], tau[k]),
190+
lognormal_rng(mu[k], sigma[k]));
191191
}
192192
}
193193
```

0 commit comments

Comments
 (0)