Skip to content

Commit 19e009a

Browse files
Fix bad boolean condition
1 parent 84e8146 commit 19e009a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kanren/facts.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ def goal(substitution):
6767

6868
for fact in facts:
6969
unified = unify(fact, args2, substitution)
70-
if unified != False:
70+
if unified is not False:
7171
yield merge(unified, substitution)
7272

7373
return goal

0 commit comments

Comments
 (0)