From 66da8393a432fa57be8bdec094873cd390f25e24 Mon Sep 17 00:00:00 2001 From: Jan Bader Date: Sat, 9 Dec 2023 15:02:41 +0100 Subject: [PATCH] Fix check being off --- filesmap.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/filesmap.go b/filesmap.go index 0780528..dfedce7 100644 --- a/filesmap.go +++ b/filesmap.go @@ -203,7 +203,7 @@ func (fm *FilesMap) getImageClusters() []imageCluster { currentCluster = append(currentCluster, similarImage{path: otherFile.path, distance: distance}) } - if len(currentCluster) == 0 { + if len(currentCluster) == 1 { continue }