Commit ffe07328 authored by Philipp Arras's avatar Philipp Arras
Browse files

Fixup

parent 2f3f3889
Pipeline #93850 passed with stages
in 11 minutes and 47 seconds
......@@ -23,8 +23,7 @@ import nifty7 as ift
pmp = pytest.mark.parametrize
@pmp("interpolator", "LinearInterpolator")
def test_grid_points(interpolator):
def test_grid_points():
res = 64
vol = 2
sp = ift.RGSpace([res, res], [vol / res, vol / res])
......@@ -35,7 +34,7 @@ def test_grid_points(interpolator):
dist = np.array(dist).reshape(-1, 1)
sampling_points = dist * mg
R = getattr(ift, interpolator)(sp, sampling_points)
R = ift.LinearInterpolator(sp, sampling_points)
ift.extra.check_linear_operator(R, atol=1e-7, rtol=1e-7)
inp = ift.from_random(R.domain)
......
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