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 7456830 commit bd4ba50Copy full SHA for bd4ba50
test/test_model.py
@@ -155,11 +155,11 @@ def test_stanc_options() -> None:
155
stanc_opts = model.stanc_options
156
assert stanc_opts[f'O{optim}']
157
assert stanc_opts['allow-undefined']
158
- assert stanc_opts['use-opencl']
159
assert stanc_opts['name'] == 'foo'
160
161
cpp_opts = model.cpp_options
162
assert cpp_opts['STAN_OPENCL'] == 'TRUE'
+ assert not stanc_opts.get('use-opencl')
163
164
with pytest.raises(ValueError):
165
bad_opts = {'X': True}
0 commit comments