Skip to content

Commit

Permalink
Fix bad boolean condition
Browse files Browse the repository at this point in the history
  • Loading branch information
brandonwillard committed May 14, 2021
1 parent 84e8146 commit 19e009a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kanren/facts.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 19e009a

Please sign in to comment.