Skip to content

Commit

Permalink
Remove warning of unused argument
Browse files Browse the repository at this point in the history
  • Loading branch information
benemer committed Jan 27, 2025
1 parent e52e7ca commit 0861612
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/kiss_icp/datasets/generic.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ class ReadOpen3d:
def __init__(self, time_field):
self.time_field = time_field
if self.time_field is None:
self.get_timestamps = lambda pcd: np.array([])
self.get_timestamps = lambda _: np.array([])
else:
self.get_timestamps = lambda pcd: pcd.point[self.time_field].numpy().ravel()

Expand Down

0 comments on commit 0861612

Please sign in to comment.