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

Use range-based loop in ORROctreeZProjection::build #2812

Conversation

SunBlack
Copy link
Contributor

Short explanation: full_leaves_bounds will be initialized to values, so during first loop run these values will be always overridden by value of first leave. This are 4 additional assignments of double, but it increases readability due to range-based for loop

@SunBlack SunBlack force-pushed the ORROctreeZProjection_build_range_based_loop branch from 79725ec to 5636d0b Compare January 30, 2019 14:07
Copy link
Member

@taketwo taketwo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we should merge this only after the original PR so that we do not need to rebase that one.

@SunBlack
Copy link
Contributor Author

I need to rebase this or the other, because they are touching same lines. So it doesn't matter.

@taketwo
Copy link
Member

taketwo commented Jan 30, 2019

As per @SergioRAgostinho's request, please do not rebase (this modifies them) the already reviewed commits in #2807.

@SergioRAgostinho SergioRAgostinho merged commit ee3fe6f into PointCloudLibrary:master Jan 31, 2019
@SunBlack SunBlack deleted the ORROctreeZProjection_build_range_based_loop branch January 31, 2019 11:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants