Skip to content

Commit af5d8ae

Browse files
committed
minor: remove unused i
1 parent cd3aadf commit af5d8ae

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pylops/signalprocessing/sliding1d.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ def __init__(
189189
self.taps = [
190190
tapin,
191191
]
192-
for i in range(1, nwins - 1):
192+
for _ in range(1, nwins - 1):
193193
self.taps.append(tap)
194194
self.taps.append(tapend)
195195
self.taps = np.vstack(self.taps)

pylops/signalprocessing/sliding2d.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ def __init__(
230230
self.taps = [
231231
tapin[np.newaxis, :],
232232
]
233-
for i in range(1, nwins - 1):
233+
for _ in range(1, nwins - 1):
234234
self.taps.append(tap[np.newaxis, :])
235235
self.taps.append(tapend[np.newaxis, :])
236236
self.taps = np.concatenate(self.taps, axis=0)

0 commit comments

Comments
 (0)