Skip to content

Commit

Permalink
Remove superfluous set_spectral_field (#282)
Browse files Browse the repository at this point in the history
  • Loading branch information
RemiLehe authored Aug 30, 2024
1 parent a864c82 commit a4bedfa
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lasy/laser.py
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,6 @@ def propagate(self, distance, nr_boundary=None, backend="NP", show_progress=True
show_progress=show_progress,
)
spectral_field[i_m, :, :] = np.transpose(transform_data).copy()
self.grid.set_spectral_field(spectral_field)
else:
# Construct the propagator (check if exists)
if not hasattr(self, "prop"):
Expand Down

0 comments on commit a4bedfa

Please sign in to comment.