Skip to content

Commit

Permalink
typo in normalization, fixes #6
Browse files Browse the repository at this point in the history
  • Loading branch information
ivan-gavran committed Mar 19, 2019
1 parent 521afb2 commit 3df39f6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion flie/utils/SimpleTree.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ def __lt__(self, other):
"""
@classmethod
def normalize(cls, f):

if f is None:
return None
if f._isLeaf():
Expand Down Expand Up @@ -145,7 +146,7 @@ def normalize(cls, f):
if f.label in ['|', "->", 'U']:
return Formula("true")
if f.label in ["&"]:
return Formula.normalize(fRight)
return Formula.normalize(fLeft)

if fRight.label == "false":
if f.label in []:
Expand Down

0 comments on commit 3df39f6

Please sign in to comment.