Skip to content

Commit

Permalink
we need to count clusters from 1 instead of 0, because all other poin…
Browse files Browse the repository at this point in the history
…ts will have 0 for their ClusterID (default value) (#1576)
  • Loading branch information
hobu committed Apr 21, 2017
1 parent d939209 commit 92184d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion filters/ClusterFilter.cpp
Expand Up @@ -73,7 +73,7 @@ void ClusterFilter::filter(PointView& view)
auto clusters = Segmentation::extractClusters(view, m_minPoints,
m_maxPoints, m_tolerance);

uint64_t id = 0;
uint64_t id = 1;
for (auto const& c : clusters)
{
for (auto const& i : c)
Expand Down

0 comments on commit 92184d0

Please sign in to comment.