From 0faee535e27b200e0aea8b1e9524d5679b6bac49 Mon Sep 17 00:00:00 2001 From: Shreya Shankar Date: Tue, 3 Sep 2024 14:39:20 -0700 Subject: [PATCH] Fix blocking in resolve operator --- motion/operations/resolve.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/motion/operations/resolve.py b/motion/operations/resolve.py index 9b24ebf4..33ac650f 100644 --- a/motion/operations/resolve.py +++ b/motion/operations/resolve.py @@ -271,7 +271,7 @@ def merge_clusters(item1, item2): def meets_blocking_conditions(pair): i, j = pair return ( - is_match(input_data[i], input_data[j]) if blocking_conditions else True + is_match(input_data[i], input_data[j]) if blocking_conditions else False ) blocked_pairs = list(filter(meets_blocking_conditions, all_pairs))