From 7ee0323ee0ed31544628fd482905ea4853721cc2 Mon Sep 17 00:00:00 2001 From: passscoed Date: Thu, 2 Apr 2026 13:13:36 +0000 Subject: [PATCH] Auto code format --- src/pyNFFT3/NFMT.py | 2 +- src/pyNFFT3/__init__.py | 2 +- tests/NFMT_test.py | 8 +++++++- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/src/pyNFFT3/NFMT.py b/src/pyNFFT3/NFMT.py index f9e7811..2d301ef 100644 --- a/src/pyNFFT3/NFMT.py +++ b/src/pyNFFT3/NFMT.py @@ -296,4 +296,4 @@ def nfmt_adjoint_direct(self): return self.nfmt_adjoint() def adjoint_direct(self): - return self.nfmt_adjoint_direct() \ No newline at end of file + return self.nfmt_adjoint_direct() diff --git a/src/pyNFFT3/__init__.py b/src/pyNFFT3/__init__.py index a54f029..57e11dc 100644 --- a/src/pyNFFT3/__init__.py +++ b/src/pyNFFT3/__init__.py @@ -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 diff --git a/tests/NFMT_test.py b/tests/NFMT_test.py index 85e5c73..9f52e1c 100644 --- a/tests/NFMT_test.py +++ b/tests/NFMT_test.py @@ -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