Skip to content

Commit 8c21134

Browse files
authored
Fix for numpy 1.24.0
1 parent 743513e commit 8c21134

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ros2_numpy/point_cloud2.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ def split_rgb_field(cloud_arr):
247247
new_cloud_arr[field_name] = cloud_arr[field_name]
248248
return new_cloud_arr
249249

250-
def get_xyz_points(cloud_array, remove_nans=True, dtype=np.float):
250+
def get_xyz_points(cloud_array, remove_nans=True, dtype=float):
251251
'''Pulls out x, y, and z columns from the cloud recordarray, and returns
252252
a 3xN matrix.
253253
'''

0 commit comments

Comments
 (0)