Skip to content

Commit

Permalink
fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
GILIYAR RADHAKRISHNA Chaithya committed Feb 16, 2024
1 parent ed692de commit 0faf696
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/mrinufft/operators/interfaces/gpunufft.py
Original file line number Diff line number Diff line change
Expand Up @@ -463,9 +463,11 @@ def pipe(cls, kspace_loc, volume_shape, num_iterations=10, osf=2, **kwargs):
osf=osf,
**kwargs,
)
density_comp = grid_op.impl.operator.estimate_density_comp(max_iter=num_iterations)
density_comp = grid_op.impl.operator.estimate_density_comp(
max_iter=num_iterations
)
return density_comp.squeeze()

def get_lipschitz_cst(self, max_iter=10, tolerance=1e-5, **kwargs):
"""Return the Lipschitz constant of the operator.
Expand Down Expand Up @@ -493,6 +495,5 @@ def get_lipschitz_cst(self, max_iter=10, tolerance=1e-5, **kwargs):
**kwargs,
)
return tmp_op.impl.operator.get_spectral_radius(
max_iter=max_iter,
tolerance=tolerance
max_iter=max_iter, tolerance=tolerance
)

0 comments on commit 0faf696

Please sign in to comment.