瀏覽代碼

Removed redundant debugging statement from negation rules.

Sander Mathijs van Veen 14 年之前
父節點
當前提交
51666c36c2
共有 1 個文件被更改,包括 0 次插入2 次删除
  1. 0 2
      src/rules/negation.py

+ 0 - 2
src/rules/negation.py

@@ -46,8 +46,6 @@ def match_negate_polynome(node):
     --a       ->  a
     -(a + b)  ->  -a - b
     """
-    if not node.negated and node.type == TYPE_OPERATOR:
-        print 'operator\'s negated childs:', [n.negated for n in node]
     assert node.negated, str(node.negated) + '; ' + str(node)
 
     p = []