Skip to content

Commit c62833b

Browse files
committed
Needed to make argument static
Signed-off-by: Dashiell Stander <dstander@protonmail.com>
1 parent 83e4e45 commit c62833b

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

src/algebraist/fourier.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ def get_all_irreps(n: int) -> list[SnIrrep]:
4242
return [SnIrrep(n, p) for p in generate_partitions(n)]
4343

4444

45-
@jax.jit
4645
def lift_from_coset(lifted_fn, coset_fn: jax.Array, sn_perms: jax.Array, idx: int) -> jax.Array:
4746
"""
4847
Inverse operation of restrict_to_coset. Assigns values from S_{n-1} cosets back to their correct positions in S_n.
@@ -60,7 +59,6 @@ def lift_from_coset(lifted_fn, coset_fn: jax.Array, sn_perms: jax.Array, idx: in
6059
lifted_fn[:, coset_idx] = coset_fn[idx]
6160

6261

63-
@jax.jit
6462
def restrict_to_coset(tensor: jax.Array, sn_perms: jax.Array, idx: int) -> jax.Array:
6563
"""
6664
Returns the values that a function on S_n takes on of one of the cosets of S_{n-1} < S_n

0 commit comments

Comments
 (0)