diff options
author | Nao Pross <np@0hm.ch> | 2024-05-05 18:07:06 +0200 |
---|---|---|
committer | Nao Pross <np@0hm.ch> | 2024-05-05 18:07:06 +0200 |
commit | 91b8c956abfdf4bdc8fdab7772e7cad07b9d7b38 (patch) | |
tree | 215b22f7d43543b51be5a61fa1cf35336b447f9d | |
parent | Delete SOSExpr and SOSExprBase (diff) | |
download | sumofsquares-91b8c956abfdf4bdc8fdab7772e7cad07b9d7b38.tar.gz sumofsquares-91b8c956abfdf4bdc8fdab7772e7cad07b9d7b38.zip |
Update after polymatrix.typing was renamed to polymatrix.index
-rw-r--r-- | sumofsquares/optvariable.py | 3 |
1 files changed, 1 insertions, 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 |