Skip to content

Commit

Permalink
Use the right true and false
Browse files Browse the repository at this point in the history
  • Loading branch information
twizmwazin committed Oct 2, 2024
1 parent 79b61f2 commit eddf1ab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions claripy/ast/bool.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,15 +163,15 @@ def If(cond, true_value, false_value):


def is_true(e):
if claripy.simplify(e) is True:
if claripy.simplify(e) is true():
return True

log.debug("Unable to tell the truth-value of this expression")
return False


def is_false(e):
if claripy.simplify(e) is False:
if claripy.simplify(e) is false():
return True

log.debug("Unable to tell the truth-value of this expression")
Expand Down

0 comments on commit eddf1ab

Please sign in to comment.