Skip to content

Commit

Permalink
Function.__truediv__
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbrc committed Dec 7, 2012
1 parent 991178b commit 9a1ca74
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions algopy/tracer/tracer.py
Original file line number Diff line number Diff line change
Expand Up @@ -1017,6 +1017,9 @@ def __rdiv__(self, lhs):
lhs = self.__class__.totype(lhs)
return lhs/self

__truediv__ = __div__
__rtruediv__ = __rdiv__


# #########################################################
# numpy functions
Expand Down

0 comments on commit 9a1ca74

Please sign in to comment.