diff --git a/pyproject.toml b/pyproject.toml index 819db95..ee03bfd 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ requires = ['meson-python', 'numpy', 'cython', 'versioneer[toml]', 'build'] [project] name = 'pixell' -version = "0.27.2" +version = "0.28.0" description = "A rectangular pixel map manipulation and harmonic analysis library derived from Sigurd Naess' enlib." readme = 'README.rst' requires-python = '>=3.9' diff --git a/tests/test_pixell.py b/tests/test_pixell.py index 3e3a650..97b30e0 100644 --- a/tests/test_pixell.py +++ b/tests/test_pixell.py @@ -1238,7 +1238,8 @@ def f(y,x): return np.sin(2*np.pi*3*y/shape[-2])+np.cos(2*np.pi*5*x/shape[-1]) assert np.allclose(vals_ip, vals_raw) time_full = t2-t1 time_eval = t4-t3 - assert time_eval < time_full / 100 + # Should be much faster than 10%, but timing is unreliable, especially in github actions + assert time_eval < time_full / 10 # Also test that we can pass the interpolator as an argument vals_ip2 = utils.interpol(data, opix, mode=mode, order=order, ip=ip) assert np.allclose(vals_ip2, vals_raw)