Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/pyNFFT3/NFMT.py
Original file line number Diff line number Diff line change
Expand Up @@ -296,4 +296,4 @@ def nfmt_adjoint_direct(self):
return self.nfmt_adjoint()

def adjoint_direct(self):
return self.nfmt_adjoint_direct()
return self.nfmt_adjoint_direct()
2 changes: 1 addition & 1 deletion src/pyNFFT3/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,9 +97,9 @@ class fastsum_plan(ctypes.Structure):
from .fastsum import *
from .flags import *
from .NFCT import *
from .NFMT import *
# Import modules
from .NFFT import *
from .NFMT import *
from .NFST import *

# Export functions and flags
Expand Down
8 changes: 7 additions & 1 deletion tests/NFMT_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,13 @@ def getMat(bandwidths, M, X, basis_vect):
n = n.reshape(1, -1)
n = n.shape[1]
F = np.array(
[[getphi(basis_vect, X[:, j], getk(basis_vect, bandwidths, l)) for l in range(1, n + 1)] for j in range(M)],
[
[
getphi(basis_vect, X[:, j], getk(basis_vect, bandwidths, l))
for l in range(1, n + 1)
]
for j in range(M)
],
dtype=np.complex128,
)
return F
Expand Down