summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sumofsquares/constraints.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/sumofsquares/constraints.py b/sumofsquares/constraints.py
index 4209ffe..69b5871 100644
--- a/sumofsquares/constraints.py
+++ b/sumofsquares/constraints.py
@@ -154,4 +154,5 @@ def putinar_psatz(
new_constr -= m * domain_poly
new_constraints.append(NonNegative(m))
+ new_constraints.append(NonNegative(new_constr))
return new_constraints