Skip to content

Commit

Permalink
fix a test
Browse files Browse the repository at this point in the history
  • Loading branch information
rhayes777 committed Jun 10, 2024
1 parent 2364f5b commit bff8143
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test_autofit/analysis/test_latent_variables.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,9 @@ def make_latent_samples():


def test_compute_latent_samples(latent_samples):
assert latent_samples.sample_list[0].kwargs == {"fwhm": 7.0644601350928475}
assert latent_samples.sample_list[0].kwargs == {
"fwhm": pytest.approx(7.0644601350928475)
}
assert latent_samples.model.instance_from_vector([1.0]).fwhm == 1.0


Expand Down

0 comments on commit bff8143

Please sign in to comment.