Explorar o código

Uncommented negation assertion.

Taddeus Kroes %!s(int64=14) %!d(string=hai) anos
pai
achega
8b4634e0de
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/rules/negation.py

+ 1 - 1
src/rules/negation.py

@@ -38,7 +38,7 @@ def match_negate_polynome(node):
     --a       ->  a
     -(a + b)  ->  -a - b
     """
-    #assert node.negated
+    assert node.negated
 
     p = []