From 91b8c956abfdf4bdc8fdab7772e7cad07b9d7b38 Mon Sep 17 00:00:00 2001 From: Nao Pross Date: Sun, 5 May 2024 18:07:06 +0200 Subject: Update after polymatrix.typing was renamed to polymatrix.index --- sumofsquares/optvariable.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sumofsquares/optvariable.py b/sumofsquares/optvariable.py index ab450f8..5ee7cbc 100644 --- a/sumofsquares/optvariable.py +++ b/sumofsquares/optvariable.py @@ -1,6 +1,5 @@ from itertools import product from typing_extensions import override -from dataclasses import replace from dataclassabc import dataclassabc from polymatrix.expression.expression import VariableExpression, init_variable_expression @@ -8,7 +7,7 @@ from polymatrix.expression.mixins.expressionbasemixin import ExpressionBaseMixin from polymatrix.expressionstate.abc import ExpressionState from polymatrix.polymatrix.abc import PolyMatrix from polymatrix.polymatrix.init import init_poly_matrix -from polymatrix.polymatrix.typing import PolyMatrixDict, PolyDict, MonomialIndex, VariableIndex +from polymatrix.polymatrix.index import PolyMatrixDict, PolyDict, MonomialIndex, VariableIndex from polymatrix.variable.abc import Variable -- cgit v1.2.1