diff options
-rw-r--r-- | polymatrix/expression/mixins/divisionexprmixin.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/polymatrix/expression/mixins/divisionexprmixin.py b/polymatrix/expression/mixins/divisionexprmixin.py index d84c09a..94bfec1 100644 --- a/polymatrix/expression/mixins/divisionexprmixin.py +++ b/polymatrix/expression/mixins/divisionexprmixin.py @@ -48,13 +48,13 @@ class DivisionExprMixin(ExpressionBaseMixin): def gen_monomial_terms(): for monomial, value in underlying_terms.items(): - yield monomial + (division_variable,), value + yield monomial + ((division_variable, 1),), value terms[row, col] = dict(gen_monomial_terms()) def gen_auxillary_terms(): for monomial, value in right.get_poly(0, 0).items(): - yield monomial + (division_variable,), value + yield monomial + ((division_variable, 1),), value auxillary_terms = dict(gen_auxillary_terms()) |