Commit b9d32eaa authored by Vincent Eberle's avatar Vincent Eberle
Browse files

fixes

parent a12202ff
Pipeline #93845 passed with stages
in 11 minutes and 56 seconds
......@@ -40,7 +40,7 @@ class FFTInterpolator(LinearOperator):
----
#FIXME Documentation from Philipp
"""
def __init__(self, domain, pos, eps=2e-10):
def __init__(self, domain, pos, eps=2e-12):
self._domain = makeDomain(domain)
if not isinstance(pos, np.ndarray):
raise TypeError("sampling_points need to be a numpy.ndarray")
......
......@@ -41,7 +41,7 @@ def test_grid_points(interpolator):
ift.extra.check_linear_operator(R, atol=1e-7, rtol=1e-7)
inp = ift.from_random(R.domain)
out = R(inp).val
np.testing.assert_allclose(out, inp.val.reshape(-1), rtol=1e-5) #Fails otherwise....
np.testing.assert_allclose(out, inp.val.reshape(-1), rtol=1e-7) #Fails otherwise....
# sampling_points = np.array([[0.25], [0.]])
# R = ift.FFTInterpolator(sp, sampling_points)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment