Skip to content

Commit 8106c0b

Browse files
committed
Let the cluster IDs start with 1 in order to distinguish clustered points from unclustered points
1 parent a27b32d commit 8106c0b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/clustering/continuous_clustering.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ void ContinuousClustering::reset(int num_rows)
4242
sc_first_unpublished_global_column_index = -1;
4343
sc_minimum_required_global_column_indices.clear();
4444
sc_unfinished_point_trees_.clear();
45-
sc_cluster_counter_ = 0;
45+
sc_cluster_counter_ = 1;
4646
sc_inclination_angles_between_lasers_.resize(num_rows, std::nanf(""));
4747

4848
// re-initialize workers

0 commit comments

Comments
 (0)