Skip to content

Commit

Permalink
minor: remove unused i
Browse files Browse the repository at this point in the history
  • Loading branch information
mrava87 committed May 18, 2024
1 parent cd3aadf commit af5d8ae
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pylops/signalprocessing/sliding1d.py
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ def __init__(
self.taps = [
tapin,
]
for i in range(1, nwins - 1):
for _ in range(1, nwins - 1):
self.taps.append(tap)
self.taps.append(tapend)
self.taps = np.vstack(self.taps)
Expand Down
2 changes: 1 addition & 1 deletion pylops/signalprocessing/sliding2d.py
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ def __init__(
self.taps = [
tapin[np.newaxis, :],
]
for i in range(1, nwins - 1):
for _ in range(1, nwins - 1):
self.taps.append(tap[np.newaxis, :])
self.taps.append(tapend[np.newaxis, :])
self.taps = np.concatenate(self.taps, axis=0)
Expand Down

0 comments on commit af5d8ae

Please sign in to comment.