Skip to content

Commit

Permalink
Merge pull request #2574 from yukkysaito/master
Browse files Browse the repository at this point in the history
Bugfix miscalculation of quantile of KLD
  • Loading branch information
SergioRAgostinho authored Oct 23, 2018
2 parents b3e73d4 + aaa6874 commit 521a3ac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tracking/include/pcl/tracking/kld_adaptive_particle_filter.h
Original file line number Diff line number Diff line change
Expand Up @@ -139,9 +139,9 @@ namespace pcl
if (u == 0.)
return (0.5);
y = u / 2.0;
if (y < -6.)
if (y < -3.)
return (0.0);
if (y > 6.)
if (y > 3.)
return (1.0);
if (y < 0.0)
y = - y;
Expand Down

0 comments on commit 521a3ac

Please sign in to comment.