diff --git a/py_ecc/bn128/bn128_field_elements.py b/py_ecc/bn128/bn128_field_elements.py index 86d6a82..a1526c8 100644 --- a/py_ecc/bn128/bn128_field_elements.py +++ b/py_ecc/bn128/bn128_field_elements.py @@ -26,7 +26,7 @@ def inv(a, n): r = high//low nm, new = hm-lm*r, high-low*r lm, low, hm, high = nm, new, lm, low - return lm % n + return lm % n # The quotient of the second input by the greatest common divisor of the two inputs. # A class for field elements in FQ. Wrap a number in this class, # and it becomes a field element.