diff options
author | Nao Pross <np@0hm.ch> | 2024-05-27 01:00:59 +0200 |
---|---|---|
committer | Nao Pross <np@0hm.ch> | 2024-05-27 01:00:59 +0200 |
commit | a86ecc392cbae3927c2026dda2b17014df3c8924 (patch) | |
tree | fd3eb79c41a8ae977bbf83048ba0f4fc158a479e | |
parent | Clean up canonicalization classes (diff) | |
download | sumofsquares-a86ecc392cbae3927c2026dda2b17014df3c8924.tar.gz sumofsquares-a86ecc392cbae3927c2026dda2b17014df3c8924.zip |
Fix type annotation
Diffstat (limited to '')
-rw-r--r-- | sumofsquares/__init__.py | 2 |
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. |