File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -93,7 +93,6 @@ def test_step_args():
9393def test_sample_var_names (nuts_sampler ):
9494 seed = 1234
9595 kwargs = {
96- "nuts_sampler" : nuts_sampler ,
9796 "chains" : 1 ,
9897 "tune" : 100 ,
9998 "draws" : 100 ,
@@ -125,9 +124,9 @@ def test_sample_var_names(nuts_sampler):
125124
126125 with model :
127126 # Sample with and without var_names, but always with the same seed
128- idata_1 = sample (** kwargs )
127+ idata_1 = sample (nuts_sampler = nuts_sampler , ** kwargs )
129128 # Remove the last free RV from the sampling
130- idata_2 = sample (var_names = free_RVs [:- 1 ], ** kwargs )
129+ idata_2 = sample (nuts_sampler = nuts_sampler , var_names = free_RVs [:- 1 ], ** kwargs )
131130
132131 assert "mu" in idata_1 .posterior
133132 assert "mu" not in idata_2 .posterior
You can’t perform that action at this time.
0 commit comments