diff options
author | Nao Pross <np@0hm.ch> | 2024-05-11 19:41:08 +0200 |
---|---|---|
committer | Nao Pross <np@0hm.ch> | 2024-05-12 15:19:37 +0200 |
commit | ef036628a81a8c0e510682346b3e225c7ddfd3a2 (patch) | |
tree | 74dfac7592e14b99c586955e4e26ec55bd8a652f | |
parent | Add TODO (diff) | |
download | sumofsquares-ef036628a81a8c0e510682346b3e225c7ddfd3a2.tar.gz sumofsquares-ef036628a81a8c0e510682346b3e225c7ddfd3a2.zip |
Fix imports after change in polymatrix dependency
See commit f094e4d91b44fc1e8b5f11aac2dd8073ba024fc8 in polymatrix
Diffstat (limited to '')
-rw-r--r-- | sumofsquares/__init__.py | 2 | ||||
-rw-r--r-- | sumofsquares/abc.py | 2 | ||||
-rw-r--r-- | sumofsquares/constraints.py | 2 | ||||
-rw-r--r-- | sumofsquares/problems.py | 2 | ||||
-rw-r--r-- | sumofsquares/variable.py | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/sumofsquares/__init__.py b/sumofsquares/__init__.py index 99438d6..39504a4 100644 --- a/sumofsquares/__init__.py +++ b/sumofsquares/__init__.py @@ -48,7 +48,7 @@ from typing import Iterable import polymatrix as poly from polymatrix.expression.expression import Expression -from polymatrix.expressionstate.abc import ExpressionState +from polymatrix.expressionstate import ExpressionState from .abc import Problem, Result, Set, Constraint, Solver from .constraints import BasicSemialgebraicSet, NonNegative diff --git a/sumofsquares/abc.py b/sumofsquares/abc.py index 78e485a..e28fbd3 100644 --- a/sumofsquares/abc.py +++ b/sumofsquares/abc.py @@ -6,7 +6,7 @@ from abc import ABC, abstractmethod from enum import Enum, auto from polymatrix.expression.expression import Expression -from polymatrix.expressionstate.abc import ExpressionState +from polymatrix.expressionstate import ExpressionState from polymatrix.variable.abc import Variable from sumofsquares.variable import OptVariable diff --git a/sumofsquares/constraints.py b/sumofsquares/constraints.py index 23f12c6..1ff6e10 100644 --- a/sumofsquares/constraints.py +++ b/sumofsquares/constraints.py @@ -8,7 +8,7 @@ from typing import Iterable import polymatrix as poly from polymatrix.expression.expression import Expression -from polymatrix.expressionstate.abc import ExpressionState +from polymatrix.expressionstate import ExpressionState from polymatrix.polymatrix.abc import PolyMatrix from polymatrix.statemonad.init import init_state_monad from polymatrix.variable.abc import Variable diff --git a/sumofsquares/problems.py b/sumofsquares/problems.py index 3105eae..e234f62 100644 --- a/sumofsquares/problems.py +++ b/sumofsquares/problems.py @@ -13,7 +13,7 @@ from typing import Any, Sequence from typing_extensions import override from polymatrix.expression.expression import Expression, VariableExpression, init_expression -from polymatrix.expressionstate.abc import ExpressionState +from polymatrix.expressionstate import ExpressionState from polymatrix.variable.abc import Variable from .abc import Problem, Constraint, Solver, Result diff --git a/sumofsquares/variable.py b/sumofsquares/variable.py index 6dec3fb..6b2e768 100644 --- a/sumofsquares/variable.py +++ b/sumofsquares/variable.py @@ -16,7 +16,7 @@ from dataclassabc import dataclassabc from polymatrix.expression.expression import VariableExpression, init_variable_expression from polymatrix.expression.mixins.expressionbasemixin import ExpressionBaseMixin -from polymatrix.expressionstate.abc import ExpressionState +from polymatrix.expressionstate import ExpressionState from polymatrix.polymatrix.abc import PolyMatrix from polymatrix.polymatrix.init import init_poly_matrix from polymatrix.polymatrix.index import PolyMatrixDict, PolyDict, MonomialIndex, VariableIndex |