Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Aug 29, 2024
1 parent 632d7a8 commit 5398f42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_genie_datasets.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ def test_dataset(fname):

power_law = next(iter(w.surface.spectra.values()))[0].dists[-1]
energy_term = 1 / power_law.pdf(w.get_weight_column("energy"))

print(energy_term / energy_factor)
assert energy_term == approx(energy_factor)

Expand Down

0 comments on commit 5398f42

Please sign in to comment.