summaryrefslogtreecommitdiff
path: root/tests/examplefiles/example.stan
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2014-01-09 17:28:59 +0100
committerGeorg Brandl <georg@python.org>2014-01-09 17:28:59 +0100
commit5e18204f68d92d3926ea43b85bccc49dc3ab57d1 (patch)
treee8c9b843259df6eaab51647012a32f3d9a3140dc /tests/examplefiles/example.stan
parentf18a03187c7ddaec0330ece20bbfef1b116f31ac (diff)
parente6aa1888047f589f1f57e417702ed01683869214 (diff)
downloadpygments-5e18204f68d92d3926ea43b85bccc49dc3ab57d1.tar.gz
Merged in thomasvandoren/pygments-main (pull request #256)
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_~@#$%^&*`'-+={}[].,;: ");