Skip to content

Commit

Permalink
Add second underscore
Browse files Browse the repository at this point in the history
  • Loading branch information
paddyroddy committed Sep 18, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent b83bc79 commit 2236bd1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion glass/fields.py
Original file line number Diff line number Diff line change
@@ -144,7 +144,7 @@ def transform_cls(cls: Cls, tfm: ClTransform, pars: tuple[Any, ...] = ()) -> Cls
for cl in cls:
if cl is not None and len(cl) > 0:
monopole = 0.0 if cl[0] == 0 else None
gl, info, _ = gaussiancl(cl, tfm, pars, monopole=monopole)
gl, info, _, _ = gaussiancl(cl, tfm, pars, monopole=monopole)
if info == 0:
warnings.warn(
"Gaussian cl did not converge, inexact transform", stacklevel=2

0 comments on commit 2236bd1

Please sign in to comment.