Skip to content

Commit 4990ca4

Browse files
committed
Force JAX double precision mode in Wigner precompute tests
1 parent 0d4698f commit 4990ca4

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/test_wigner_precompute.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import jax
12
import numpy as np
23
import pytest
34
import so3
@@ -8,6 +9,8 @@
89
from s2fft.precompute_transforms.wigner import forward, inverse
910
from s2fft.sampling import so3_samples as samples
1011

12+
jax.config.update("jax_enable_x64", True)
13+
1114
L_to_test = [6]
1215
N_to_test = [2, 6]
1316
nside_to_test = [4]

0 commit comments

Comments
 (0)