summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--sumofsquares/abc.py2
-rw-r--r--sumofsquares/constraints.py4
-rw-r--r--sumofsquares/problems.py2
-rw-r--r--sumofsquares/variable.py2
4 files changed, 5 insertions, 5 deletions
diff --git a/sumofsquares/abc.py b/sumofsquares/abc.py
index e28fbd3..f0e95bb 100644
--- a/sumofsquares/abc.py
+++ b/sumofsquares/abc.py
@@ -7,7 +7,7 @@ from enum import Enum, auto
from polymatrix.expression.expression import Expression
from polymatrix.expressionstate import ExpressionState
-from polymatrix.variable.abc import Variable
+from polymatrix.variable import Variable
from sumofsquares.variable import OptVariable
diff --git a/sumofsquares/constraints.py b/sumofsquares/constraints.py
index 1ff6e10..71dbb06 100644
--- a/sumofsquares/constraints.py
+++ b/sumofsquares/constraints.py
@@ -10,8 +10,8 @@ import polymatrix as poly
from polymatrix.expression.expression import Expression
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
+from polymatrix.statemonad import init_state_monad
+from polymatrix.variable import Variable
from .abc import Set, Constraint
from .error import AlgebraicError
diff --git a/sumofsquares/problems.py b/sumofsquares/problems.py
index e234f62..500d06a 100644
--- a/sumofsquares/problems.py
+++ b/sumofsquares/problems.py
@@ -14,7 +14,7 @@ from typing_extensions import override
from polymatrix.expression.expression import Expression, VariableExpression, init_expression
from polymatrix.expressionstate import ExpressionState
-from polymatrix.variable.abc import Variable
+from polymatrix.variable import Variable
from .abc import Problem, Constraint, Solver, Result
from .constraints import NonNegative, putinar_psatz
diff --git a/sumofsquares/variable.py b/sumofsquares/variable.py
index 6b2e768..f309406 100644
--- a/sumofsquares/variable.py
+++ b/sumofsquares/variable.py
@@ -20,7 +20,7 @@ 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
-from polymatrix.variable.abc import Variable
+from polymatrix.variable import Variable
class OptVariable(Variable):