Commit 0cc26de3 authored by leongs's avatar leongs

posit_2 div typo again

parent 8ad023e0
......@@ -1270,7 +1270,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):
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