Skip to content
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

Fix bug in OctreePointCloudAdjacency::computeNeighbors() #455

Merged
merged 3 commits into from
Jan 22, 2014

Conversation

jpapon
Copy link
Contributor

@jpapon jpapon commented Jan 20, 2014

Updated Pull Request #454

taketwo and others added 2 commits January 19, 2014 18:13
The `x`, `y`, and `z` fields of `OctreeKey` are unsigned integers, so
in some cases unsigned integer underflow occurs and the tree is queried
for non-existing leaves with huge keys. Due to the way `findLeaf()` is
implemented, such queries occasionally succeed and return some random
leaves.
@rbrusu
Copy link
Member

rbrusu commented Jan 21, 2014

@jkammerl can you please 2x check if the fix proposed by @jpapon works for you?

@jkammerl
Copy link
Member

Looks good to me... Thanks @jpapon!

jkammerl added a commit that referenced this pull request Jan 22, 2014
Fix bug in OctreePointCloudAdjacency::computeNeighbors()
@jkammerl jkammerl merged commit 962802a into PointCloudLibrary:master Jan 22, 2014
@jpapon jpapon deleted the octree_key_fix branch September 22, 2014 08:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants