Skip to content
This repository was archived by the owner on Nov 13, 2025. It is now read-only.

Commit e2a5177

Browse files
committed
debug
1 parent a1904f8 commit e2a5177

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/cluster_estimation/cluster_estimation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -357,7 +357,7 @@ def __filter_by_points_ownership(
357357
# By cluster index
358358
# pylint: disable-next=consider-using-enumerate
359359
for i in range(len(model_output)):
360-
if cluster_counts.get(i) >= self.__min_points_per_cluster:
360+
if cluster_counts.get(i, 0) >= self.__min_points_per_cluster:
361361
filtered_output.append(model_output[i])
362362

363363
return filtered_output

0 commit comments

Comments
 (0)