Select_by_index generates an error

HI,

This function does not appear to be working correctly – even for the tutorial function
(http://www.open3d.org/docs/latest/tutorial/Advanced/pointcloud_outlier_removal.html)

Specifically:

fnam = “filename.pcd”
tmp = o3d.io.read_point_cloud(fnam)
tmp= tmp.voxel_down_sample(voxel_size=0.0005)
tmp, ind = tmp.remove_radius_outlier(nb_points=4, radius=0.005)
inlier_cloud = tmp.select_by_index(ind)

Generates this error:

malloc(): invalid size (unsorted)

Is there a work-around or solution for this?

Thanks to all you guys.