Commit 7cae6efc authored by leongs's avatar leongs

Newly generated

parent 0cc26de3
......@@ -2670,7 +2670,7 @@ class posit_2:
except TypeError:
print("TypeError: Unsupported operand type(s) for /: posit_2 and ",other.type())
def __truediv__(self, other):
return self.__div(other)
return self.__div__(other)
def __rdiv__(self, other):
try:
a = posit_2(0, self.x)
......
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