Skip to content

Commit

Permalink
Fix feature histogram ctor bug
Browse files Browse the repository at this point in the history
  • Loading branch information
truhoang committed Jun 30, 2020
1 parent 10230bc commit b65a6bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/src/feature_histogram.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ pcl::FeatureHistogram::FeatureHistogram (std::size_t const number_of_bins,
{
threshold_min_ = min;
threshold_max_ = max;
step_ = (max - min) / static_cast<float> (number_of_bins_);
step_ = (max - min) / static_cast<float> (number_of_bins);
}
else
{
Expand Down

0 comments on commit b65a6bb

Please sign in to comment.