Skip to content

Commit

Permalink
Update for Stan 2.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
brian-lau committed Oct 24, 2014
1 parent 173ac34 commit 953f8c9
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions Tests/TestStanModel.m
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,9 @@ function testContructorNoArgs(self)
function testContructorArgs(self)
s = StanModel();

if mstan.check_ver(s.stan_version,'2.4.0')
if mstan.check_ver(s.stan_version,'2.5.0')
model_file = fullfile(mstan.stan_home,'stan','example-models','basic_estimators','bernoulli.stan');
elseif mstan.check_ver(s.stan_version,'2.4.0')
model_file = fullfile(mstan.stan_home,'stan','src','models','basic_estimators','bernoulli.stan');
else
model_file = fullfile(mstan.stan_home,'src','models','basic_estimators','bernoulli.stan');
Expand Down Expand Up @@ -84,7 +86,9 @@ function testContructorArgs(self)
function testSet(self)
s = StanModel();

if mstan.check_ver(s.stan_version,'2.4.0')
if mstan.check_ver(s.stan_version,'2.5.0')
model_file = fullfile(mstan.stan_home,'stan','example-models','basic_estimators','bernoulli.stan');
elseif mstan.check_ver(s.stan_version,'2.4.0')
model_file = fullfile(mstan.stan_home,'stan','src','models','basic_estimators','bernoulli.stan');
else
model_file = fullfile(mstan.stan_home,'src','models','basic_estimators','bernoulli.stan');
Expand Down

0 comments on commit 953f8c9

Please sign in to comment.