Skip to content

Commit f0917d0

Browse files
committed
fix testing tolerance
1 parent 6aae138 commit f0917d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_analysis.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,4 @@ def test_quantum_velocity_and_radial_power_spectrum():
2121

2222
Pf, _, _ = radial_power_spectrum(vx, kx, ky, kz, box_size)
2323

24-
assert jnp.max(Pf) == pytest.approx(8244.606, abs=1e-4)
24+
assert jnp.max(Pf) == pytest.approx(8244.606, rel=1e-4)

0 commit comments

Comments
 (0)