Skip to content

Commit

Permalink
Consistency as always
Browse files Browse the repository at this point in the history
  • Loading branch information
nachovizzo committed Jul 9, 2024
1 parent 11314be commit 66ef872
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cpp/kiss_icp/core/Preprocessing.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@ struct VoxelHash {
};

Voxel PointToVoxel(const Eigen::Vector3d &point, double voxel_size) {
return {static_cast<int>(std::floor(point.x() / voxel_size)),
static_cast<int>(std::floor(point.y() / voxel_size)),
static_cast<int>(std::floor(point.z() / voxel_size))};
return Voxel(static_cast<int>(std::floor(point.x() / voxel_size)),
static_cast<int>(std::floor(point.y() / voxel_size)),
static_cast<int>(std::floor(point.z() / voxel_size)));
}
} // namespace

Expand Down

0 comments on commit 66ef872

Please sign in to comment.