diff --git a/src/galois/_domains/_calculate.py b/src/galois/_domains/_calculate.py index 708a72234..c93cd68cd 100644 --- a/src/galois/_domains/_calculate.py +++ b/src/galois/_domains/_calculate.py @@ -464,7 +464,7 @@ def set_calculate_globals(self): ORDER = self.field.order MULTIPLY = self.field._multiply.ufunc POSITIVE_POWER = self.field._positive_power.ufunc - SUBFIELD_RECIPROCAL = self.field.prime_subfield._reciprocal.ufunc + SUBFIELD_RECIPROCAL = getattr(self.field.prime_subfield._reciprocal, self.field.ufunc_mode.replace("-", "_")) @staticmethod def calculate(a: int) -> int: