Skip to content

fix: max_id size should be equal to histogram.size() - 1#4934

Merged
mvieth merged 1 commit intoPointCloudLibrary:masterfrom
haqiankaka:fix_histogram_maxid_size
Sep 5, 2021
Merged

fix: max_id size should be equal to histogram.size() - 1#4934
mvieth merged 1 commit intoPointCloudLibrary:masterfrom
haqiankaka:fix_histogram_maxid_size

Conversation

@haqiankaka
Copy link
Copy Markdown
Contributor

in common/feature_histogram.cpp :
the function is getMeanValue(). you want to get max_id in histogram so you pick the size of histogram.
Actually I guess you want the value histogram.size() - 1 to be the max index.
so I start an issue for discuss then get your reply.
The issue url is: #4920

@haqiankaka haqiankaka marked this pull request as draft September 5, 2021 09:33
@haqiankaka haqiankaka marked this pull request as ready for review September 5, 2021 09:34
Copy link
Copy Markdown
Member

@mvieth mvieth left a comment

Choose a reason for hiding this comment

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

Thank you!

@mvieth mvieth added the changelog: fix Meta-information for changelog generation label Sep 5, 2021
@mvieth mvieth linked an issue Sep 5, 2021 that may be closed by this pull request
@mvieth mvieth merged commit ce8d85d into PointCloudLibrary:master Sep 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

changelog: fix Meta-information for changelog generation module: common

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[common] in feature_histogram.cpp ,maxidx value error

3 participants