From 19e009ac1e974c6e14a647f9fefba26dc5997a02 Mon Sep 17 00:00:00 2001 From: "Brandon T. Willard" Date: Wed, 12 May 2021 21:52:00 -0500 Subject: [PATCH] Fix bad boolean condition --- kanren/facts.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kanren/facts.py b/kanren/facts.py index c0b693e..5fd3ba4 100644 --- a/kanren/facts.py +++ b/kanren/facts.py @@ -67,7 +67,7 @@ def goal(substitution): for fact in facts: unified = unify(fact, args2, substitution) - if unified != False: + if unified is not False: yield merge(unified, substitution) return goal