summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNao Pross <np@0hm.ch>2024-05-27 01:00:59 +0200
committerNao Pross <np@0hm.ch>2024-05-27 01:00:59 +0200
commita86ecc392cbae3927c2026dda2b17014df3c8924 (patch)
treefd3eb79c41a8ae977bbf83048ba0f4fc158a479e
parentClean up canonicalization classes (diff)
downloadsumofsquares-a86ecc392cbae3927c2026dda2b17014df3c8924.tar.gz
sumofsquares-a86ecc392cbae3927c2026dda2b17014df3c8924.zip
Fix type annotation
Diffstat (limited to '')
-rw-r--r--sumofsquares/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sumofsquares/__init__.py b/sumofsquares/__init__.py
index 6c02f24..2886326 100644
--- a/sumofsquares/__init__.py
+++ b/sumofsquares/__init__.py
@@ -99,7 +99,7 @@ def make_problem(
cost: Expression,
constraints: Iterable[Constraint] = (),
solver: Solver = Solver.CVXOPT,
- psatz: Canonicalization = PutinarPSatz
+ psatz: type[Canonicalization] = PutinarPSatz
) -> SOSProblem:
"""
Create a sum-of-squares optimization problem.