Skip to content

Commit

Permalink
style(pre-commit): autofix
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci[bot] committed Mar 4, 2024
1 parent 68865a3 commit eac2daa
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,9 @@ bool VoxelGridMapLoader::is_in_voxel(
const double dist_y = map->points.at(voxel_index).y - target_point.y;
const double dist_z = map->points.at(voxel_index).z - target_point.z - 0.1;
// check if the point is inside the distance threshold voxel
if(std::abs(dist_x) < distance_threshold && std::abs(dist_y) < distance_threshold && std::abs(dist_z) < distance_threshold * downsize_ratio_z_axis_){
if (
std::abs(dist_x) < distance_threshold && std::abs(dist_y) < distance_threshold &&
std::abs(dist_z) < distance_threshold * downsize_ratio_z_axis_) {
return true;
}
}
Expand Down

0 comments on commit eac2daa

Please sign in to comment.