Skip to content

Commit 9087959

Browse files
committed
minor: removed commented code
1 parent b8d4ee3 commit 9087959

File tree

1 file changed

+1
-16
lines changed

1 file changed

+1
-16
lines changed

pylops/waveeqprocessing/_kirchhoff_cuda.py

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -586,20 +586,5 @@ def _rmatvec_call(self, *inputs):
586586
y_d = self._call_dynamic(inputs[0], "_rmatvec")
587587
else:
588588
y_d = self._call_nondynamic("_rmatvec", *inputs)
589-
"""
590-
else:
591-
x_d = inputs[0]
592-
y_d = inputs[1]
593-
ns_d = np.int32(inputs[2])
594-
nr_d = np.int32(inputs[3])
595-
nt_d = np.int32(inputs[4])
596-
ni_d = np.int32(inputs[5])
597-
dt_d = np.float32(inputs[6])
598-
trav_srcs_d = to_cupy(inputs[7])
599-
trav_recs_d = to_cupy(inputs[8])
600-
self._travsrcrec_kirch_rmatvec_cuda[
601-
self.num_blocks, self.num_threads_per_blocks
602-
](x_d, y_d, ns_d, nr_d, nt_d, ni_d, dt_d, trav_srcs_d, trav_recs_d)
603-
cuda.synchronize()
604-
"""
589+
605590
return y_d

0 commit comments

Comments
 (0)