Commit 76a7ef33 by Haichen Shen

fix bug for rdiv

parent e0e87222
......@@ -38,7 +38,7 @@ class Expr(object):
return BinaryOpExpr(_op.div, self, other)
def __rdiv__(self, other):
return BinaryOpExpr(_op.div, self, other)
return BinaryOpExpr(_op.div, other, self)
def __truediv__(self, other):
return self.__div__(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