From a86ecc392cbae3927c2026dda2b17014df3c8924 Mon Sep 17 00:00:00 2001 From: Nao Pross Date: Mon, 27 May 2024 01:00:59 +0200 Subject: Fix type annotation --- sumofsquares/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. -- cgit v1.2.1