We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c0338c9 commit 72e9c5cCopy full SHA for 72e9c5c
test/test_sample.py
@@ -55,7 +55,7 @@
55
)
56
def test_bernoulli_good(stanfile: str):
57
stan = os.path.join(DATAFILES_PATH, stanfile)
58
- bern_model = CmdStanModel(stan_file=stan)
+ bern_model = CmdStanModel(stan_file=stan, force_compile=True)
59
60
jdata = os.path.join(DATAFILES_PATH, 'bernoulli.data.json')
61
bern_fit = bern_model.sample(
@@ -74,6 +74,7 @@ def test_bernoulli_good(stanfile: str):
74
75
for i in range(bern_fit.runset.chains):
76
csv_file = bern_fit.runset.csv_files[i]
77
+ # NB this assumes we're not using threads for chains
78
stdout_file = bern_fit.runset.stdout_files[i]
79
assert os.path.exists(csv_file)
80
assert os.path.exists(stdout_file)
0 commit comments