Skip to content

Commit

Permalink
Fix for numpy 1.24.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Flova authored Dec 21, 2022
1 parent 743513e commit 8c21134
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ros2_numpy/point_cloud2.py
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ def split_rgb_field(cloud_arr):
new_cloud_arr[field_name] = cloud_arr[field_name]
return new_cloud_arr

def get_xyz_points(cloud_array, remove_nans=True, dtype=np.float):
def get_xyz_points(cloud_array, remove_nans=True, dtype=float):
'''Pulls out x, y, and z columns from the cloud recordarray, and returns
a 3xN matrix.
'''
Expand Down

0 comments on commit 8c21134

Please sign in to comment.