Skip to content
Snippets Groups Projects
Commit ed76902d authored by Taddeus Kroes's avatar Taddeus Kroes
Browse files

Improved assertion.

parent 9a8d9d5a
No related branches found
No related tags found
No related merge requests found
......@@ -239,7 +239,7 @@ class ExpressionBase(object):
def reduce_negation(self, n=1):
"""Remove n negation flags from the node."""
assert self.negated
assert self.negated >= n
return self.negate(-n)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment