Skip to content
This repository was archived by the owner on Mar 19, 2021. It is now read-only.

Commit 3a9181a

Browse files
authored
Merge pull request #342 from dmhowcroft/develop
updated <- to = because <- assignment op is deprecated
2 parents d0f586d + ba2223e commit 3a9181a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

doc/8schools.stan

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ parameters {
1111
transformed parameters {
1212
real theta[J];
1313
for (j in 1:J)
14-
theta[j] <- mu + tau * eta[j];
14+
theta[j] = mu + tau * eta[j];
1515
}
1616
model {
1717
eta ~ normal(0, 1);

doc/getting_started.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ which studied coaching effects from eight schools.
9797
transformed parameters {
9898
real theta[J];
9999
for (j in 1:J)
100-
theta[j] <- mu + tau * eta[j];
100+
theta[j] = mu + tau * eta[j];
101101
}
102102
model {
103103
eta ~ normal(0, 1);

0 commit comments

Comments
 (0)