You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not sure if it's the expected behavior of nanoflann and since it wasn't mentioned in the docs, I thought it was worth raising up this issue.
I pass 3D point coordinates to nanoflann to construct the kdtree index (distance = L2). When the number of points is = 0 and I try to save the index, I get a segfault from the second line in the following:
Not sure if it's the expected behavior of nanoflann and since it wasn't mentioned in the docs, I thought it was worth raising up this issue.
I pass 3D point coordinates to nanoflann to construct the kdtree index (distance = L2). When the number of points is = 0 and I try to save the index, I get a segfault from the second line in the following:
std::ofstream file_kdtree(path_kdtree, std::ofstream::binary); index.saveIndex(file_kdtree);
To avoid the segfault, I don't call
m_index.saveIndex()
unlessindex.m_size > 0
.The text was updated successfully, but these errors were encountered: