Skip to content

Commit

Permalink
Integrate Nacho's Comment
Browse files Browse the repository at this point in the history
Co-authored-by: Ignacio Vizzo <[email protected]>
  • Loading branch information
tizianoGuadagnino and nachovizzo authored Aug 8, 2024
1 parent d1e2bfe commit 4594af4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cpp/kiss_icp/core/VoxelHashMap.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ namespace kiss_icp {
std::tuple<Eigen::Vector3d, double> VoxelHashMap::GetClosestNeighbor(
const Eigen::Vector3d &point) const {
// Convert the point to voxel coordinates
const auto &voxel = kiss_icp::PointToVoxel(point, voxel_size_);
const auto &voxel = PointToVoxel(point, voxel_size_);
// Get nearby voxels on the map
const auto &query_voxels = GetAdjacentVoxels(voxel);
// Extract the points contained within the neighborhood voxels
Expand Down

0 comments on commit 4594af4

Please sign in to comment.