Skip to content

Commit

Permalink
minor improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
ntessore committed Jan 2, 2024
1 parent 24b960d commit 3309972
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
2 changes: 1 addition & 1 deletion heracles/twopoint.py
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ def mixing_matrices(fields, cls, *, l1max=None, l2max=None, l3max=None, out=None
done = set()

# go through the toc dict of cls and compute mixing matrices
# which mixing matrix is computed depends on the whts mapping
# which mixing matrix is computed depends on the `weights` mapping
for (k1, k2, i1, i2), cl in cls.items():
# if the weights are not named then skip this cl
try:
Expand Down
6 changes: 1 addition & 5 deletions tests/test_twopoint.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,11 +139,7 @@ def test_mixing_matrices(mock, mock_eb, rng):
# field definition, requires weight function and spin weight

# mixmat_eb returns three values
mock_eb.return_value = (
Mock(),
Mock(),
Mock(),
)
mock_eb.return_value = (Mock(), Mock(), Mock())

lmax = 20
cl = rng.standard_normal(lmax + 1)
Expand Down

0 comments on commit 3309972

Please sign in to comment.