Skip to content

Commit bd76a11

Browse files
committed
Correct code snippet in docstring
1 parent 7b4c779 commit bd76a11

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

s2fft/utils/signal_generator.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ def complex_el_and_m_indices(L: int, min_el: int) -> tuple[np.ndarray, np.ndarra
4141
4242
```
4343
el_indices, m_indices = np.array(
44-
[(el, m) for el in range(min_el, L) for m in range(1, el + 1))]
45-
)
44+
[(el, m) for el in range(min_el, L) for m in range(1, el + 1)]
45+
).T
4646
```
4747
4848
For `L, min_el = 1024, 0`, this implementation is around 80x quicker in

0 commit comments

Comments
 (0)