Fix condition for adding a cluster

This commit is contained in:
Jan Bader 2023-12-10 21:51:02 +01:00
parent eb6e492251
commit ceab693f34

View File

@ -35,7 +35,7 @@ func (fm *FilesMap) getImageClusters() []imageCluster {
currentCluster = append(currentCluster, similarImage{path: otherFile.path, distance: distance})
}
if len(currentCluster) > 1 {
if len(currentCluster) <= 1 {
continue
}