-
-
Notifications
You must be signed in to change notification settings - Fork 4.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enable arbitary size Indices for Octree module #4350
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It doesn't work to simply look at method's interfaces. There's some rotten apples inside these methods which will still break functionality.
unsigned int result_count = static_cast<unsigned int>(point_candidates.size()); |
I would rather take a more careful approach to this migration.
int k, | ||
std::vector<int>& k_indices, | ||
std::vector<float>& k_sqr_distances) | ||
const PointT& p_q, int k, Indices& k_indices, std::vector<float>& k_sqr_distances) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not actionable: k should likely be made uindex_t in a future pass
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
k
is currently signed. Should it be make index_t
instead?
Marking draft. Will return with vengeance (every line checked... 😢) |
Several use of |
ec343ab
to
b9e101b
Compare
@kunaltyagi Do you maybe want to check why the tests are failing and resolve the conflicts? Then we could hopefully merge this soon. |
e9d8645
to
d201d69
Compare
@mvieth Thanks a lot for pinging me. I've been so busy, it's been hard to keep track of what's the priority here. :) Just rebased to current master and will get back to this in this coming week. |
@larshg I'll take a look at your existing comments on the weekend. |
0971c35
to
7a1aaaf
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it is sometimes ambiguous whether index_t
or uindex_t
should be used, but I generally agree with your choices.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, assuming you fix the failing CI check.
@kunaltyagi Merge? |
Rearranged the comments a bit for an easy(er) merge |
And a bug fix for common module
This brings up the modules ready to:
Next targets: kdtree, sample_consensus, io