Commit 464b95ee authored by Taddeus Kroes's avatar Taddeus Kroes

Disabled a seemingly useless condition in extract_polynome_properties.

parent a3de7119
...@@ -412,11 +412,11 @@ class ExpressionNode(Node, ExpressionBase): ...@@ -412,11 +412,11 @@ class ExpressionNode(Node, ExpressionBase):
if self.is_power(): if self.is_power():
return (ExpressionLeaf(1), self[0], self[1]) return (ExpressionLeaf(1), self[0], self[1])
# rule: -r -> (1, r, 1) # rule: -r -> (1, -r, 1)
# rule: --r -> (1, r, 1) # rule: --r -> (1, --r, 1)
# rule: ---r -> (1, r, 1) # rule: ---r -> (1, ---r, 1)
if self.negated: #if self.negated:
return (ExpressionLeaf(1), self, ExpressionLeaf(1)) # return (ExpressionLeaf(1), self, ExpressionLeaf(1))
if self.op != OP_MUL: if self.op != OP_MUL:
return return
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment