Skip to content
Snippets Groups Projects
Commit 76a7ef33 authored by Haichen Shen's avatar Haichen Shen
Browse files

fix bug for rdiv

parent e0e87222
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment