Fixed typo in ExpressionBase magic method __div__.

parent 76158313
...@@ -129,7 +129,7 @@ class ExpressionBase(object): ...@@ -129,7 +129,7 @@ class ExpressionBase(object):
return ExpressionNode('*', self, to_expression(other)) return ExpressionNode('*', self, to_expression(other))
def __div__(self, other): def __div__(self, other):
return ExpressionNode('-', self, to_expression(other)) return ExpressionNode('/', self, to_expression(other))
def __pow__(self, other): def __pow__(self, other):
return ExpressionNode('^', self, to_expression(other)) return ExpressionNode('^', self, to_expression(other))
......
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