Skip to content

Commit

Permalink
Use correct kernel construction functions
Browse files Browse the repository at this point in the history
  • Loading branch information
matt-graham committed Dec 11, 2024
1 parent 8af3dd0 commit 8919b2f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions s2fft/precompute_transforms/spherical.py
Original file line number Diff line number Diff line change
Expand Up @@ -624,7 +624,7 @@ def forward_transform_torch(
}

_kernel_functions = {
"numpy": partial(construct.fourier_wigner_kernel, using_torch=False),
"jax": construct.fourier_wigner_kernel_jax,
"torch": partial(construct.fourier_wigner_kernel, using_torch=True),
"numpy": partial(construct.spin_spherical_kernel, using_torch=False),
"jax": construct.spin_spherical_kernel_jax,
"torch": partial(construct.spin_spherical_kernel, using_torch=True),
}

0 comments on commit 8919b2f

Please sign in to comment.