Skip to content

Commit

Permalink
pre-commit.ci: style fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci[bot] committed Nov 22, 2024
1 parent e11deb8 commit d1bbeea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_fields.py
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,7 @@ def test_generate_lognormal(rng: np.random.Generator) -> None:
rng = np.random.default_rng(seed=42)
new_lognormal_fields = list(generate_lognormal(gls, nside, shift=2.0, rng=rng))

for ms, mu in zip(new_lognormal_fields, lognormal_fields):
for ms, mu in zip(new_lognormal_fields, lognormal_fields, strict=False):
np.testing.assert_allclose(ms, mu * 2.0)


Expand Down

0 comments on commit d1bbeea

Please sign in to comment.