Skip to content
Snippets Groups Projects
Commit 05829439 authored by Vincent Eberle's avatar Vincent Eberle Committed by Philipp Arras
Browse files

space

parent ddff18c4
No related branches found
No related tags found
1 merge request!600Add finufft
Pipeline #92566 passed
......@@ -47,7 +47,7 @@ class FFTInterpolator(LinearOperator):
if pos.shape[0] != 2:
raise ValueError("first dimension of sampling_points must have length 2")
for ii in [0, 1]:
if domain.shape[ii] %2 != 0:
if domain.shape[ii] % 2 != 0:
raise ValueError("even number of samples is required for gridding operation")
dist = [list(dom.distances) for dom in self.domain]
dist = np.array(dist).reshape(-1,1)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment