summaryrefslogtreecommitdiffstats
path: root/polymatrix/expression/mixins/divisionexprmixin.py
diff options
context:
space:
mode:
Diffstat (limited to 'polymatrix/expression/mixins/divisionexprmixin.py')
-rw-r--r--polymatrix/expression/mixins/divisionexprmixin.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/polymatrix/expression/mixins/divisionexprmixin.py b/polymatrix/expression/mixins/divisionexprmixin.py
index 0f2fada..65e6bc3 100644
--- a/polymatrix/expression/mixins/divisionexprmixin.py
+++ b/polymatrix/expression/mixins/divisionexprmixin.py
@@ -55,7 +55,7 @@ class DivisionExprMixin(ExpressionBaseMixin):
state=state,
left=left,
right=init_poly_matrix(
- terms=right_inv,
+ data=right_inv,
shape=(1, 1),
)
)
@@ -64,7 +64,7 @@ class DivisionExprMixin(ExpressionBaseMixin):
if self in state.cache:
return state, state.cache[self]
- terms = {}
+ poly_matrix_data = {}
division_variable = state.n_param
state = state.register(n_param=1)
@@ -80,7 +80,7 @@ class DivisionExprMixin(ExpressionBaseMixin):
for monomial, value in underlying_terms.items():
yield monomial + ((division_variable, 1),), value
- terms[row, col] = dict(gen_monomial_terms())
+ poly_matrix_data[row, col] = dict(gen_monomial_terms())
def gen_auxillary_terms():
for monomial, value in right_poly.items():
@@ -94,7 +94,7 @@ class DivisionExprMixin(ExpressionBaseMixin):
auxillary_terms[tuple()] -= 1
poly_matrix = init_poly_matrix(
- terms=terms,
+ data=poly_matrix_data,
shape=left.shape,
)