Skip to content

Commit

Permalink
flip conditional
Browse files Browse the repository at this point in the history
[ci skip]
  • Loading branch information
WardBrian committed Nov 25, 2024
1 parent 555cb4c commit c20a263
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/test_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,9 +99,9 @@ def test_legacy_fixed_param() -> None:
stan = os.path.join(DATAFILES_PATH, 'datagen_poisson_glm.stan')
model = CmdStanModel(stan_file=stan)
if cmdstan_version_before(2, 36):
assert not model._fixed_param
else:
assert model._fixed_param
else:
assert not model._fixed_param


def test_model_pedantic(caplog: pytest.LogCaptureFixture) -> None:
Expand Down

0 comments on commit c20a263

Please sign in to comment.