Fix typo in tsdf_range_data_inserter_2d.cc (#1612)

Fix typo in RangeDataSorter.
master
Phil 2020-06-15 18:13:54 +10:00 committed by GitHub
parent d973a084f7
commit 36afcb5590
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -73,7 +73,7 @@ struct RangeDataSorter {
const Eigen::Vector2f delta_lhs =
(lhs.position.head<2>() - origin_).normalized();
const Eigen::Vector2f delta_rhs =
(lhs.position.head<2>() - origin_).normalized();
(rhs.position.head<2>() - origin_).normalized();
if ((delta_lhs[1] < 0.f) != (delta_rhs[1] < 0.f)) {
return delta_lhs[1] < 0.f;
} else if (delta_lhs[1] < 0.f) {