Skip to content

Commit e02ee62

Browse files
author
Andrew Johnson
committed
Simplify
1 parent 36ac8a4 commit e02ee62

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

basic_distributions/wishart2x2.stan

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ model {
3535
// = | 0 2 * sd2 0 |
3636
// | rho * sd2 rho * sd1 sd1 * sd2 * (1 - rho^2) |
3737

38-
target += 2 * log2() + 2 * log(sd1) + 2 * log(sd2) + log1m(rho^2);
38+
target += 2 * (log2() + log(sd1) + log(sd2)) + log1m(rho^2);
3939

4040
W ~ wishart(4, S);
4141
}

0 commit comments

Comments
 (0)