summaryrefslogtreecommitdiff
path: root/tests/examplefiles/example.stan
diff options
context:
space:
mode:
Diffstat (limited to 'tests/examplefiles/example.stan')
-rw-r--r--tests/examplefiles/example.stan10
1 files changed, 7 insertions, 3 deletions
diff --git a/tests/examplefiles/example.stan b/tests/examplefiles/example.stan
index 3d88bb5e..e86ae42f 100644
--- a/tests/examplefiles/example.stan
+++ b/tests/examplefiles/example.stan
@@ -19,9 +19,13 @@ data {
corr_matrix[3] grault;
cov_matrix[3] garply;
+ real<lower=-1,upper=1> foo1;
+ real<lower=0> foo2;
+ real<upper=0> foo3;
+
// bad names
// includes .
- real foo.;
+ // real foo.;
// beings with number
//real 0foo;
// begins with _
@@ -71,8 +75,8 @@ model {
}
generated quantities {
- real foo1;
- foo1 <- foo + 1;
+ real bar1;
+ bar1 <- foo + 1;
}
## Baddness