summaryrefslogtreecommitdiff
path: root/tests/examplefiles/example.stan
diff options
context:
space:
mode:
authorTim Hatch <tim@timhatch.com>2014-04-14 20:14:51 -0400
committerTim Hatch <tim@timhatch.com>2014-04-14 20:14:51 -0400
commitc75a752481251a0f2033a0db2466f293e73fa7e2 (patch)
tree2fd7271a0e92112cb2c3c7dc04773379bd72dd07 /tests/examplefiles/example.stan
parent11226c63db8ed714bf233e34d44141a4ad3df934 (diff)
parentc852aa1e65a7175a4d62d321b9b18f70e4e6b93a (diff)
downloadpygments-c75a752481251a0f2033a0db2466f293e73fa7e2.tar.gz
Merged in ssproessig/pygments-main (pull request #266)
Diffstat (limited to 'tests/examplefiles/example.stan')
-rw-r--r--tests/examplefiles/example.stan2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/examplefiles/example.stan b/tests/examplefiles/example.stan
index e936f54a..7eb6fdfc 100644
--- a/tests/examplefiles/example.stan
+++ b/tests/examplefiles/example.stan
@@ -19,6 +19,7 @@ data {
positive_ordered[3] wibble;
corr_matrix[3] grault;
cov_matrix[3] garply;
+ cholesky_factor_cov[3] waldo;
real<lower=-1,upper=1> foo1;
real<lower=0> foo2;
@@ -94,6 +95,7 @@ model {
// lp__ should be highlighted
// normal_log as a function
lp__ <- lp__ + normal_log(plugh, 0, 1);
+ increment_log_prob(normal_log(plugh, 0, 1));
// print statement and string literal
print("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_~@#$%^&*`'-+={}[].,;: ");