From 90a06c2530e34b48d29f8a154a529072dbe2abea Mon Sep 17 00:00:00 2001 From: Michael Orlitzky Date: Mon, 31 Oct 2016 20:11:26 -0400 Subject: [PATCH] Set options.ABS_TOL to 1e-7; we should adjust it elsewhere if needed. --- dunshire/options.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/dunshire/options.py b/dunshire/options.py index c6e5c4c..2a57e27 100644 --- a/dunshire/options.py +++ b/dunshire/options.py @@ -5,11 +5,12 @@ change them. But this makes the user interface real simple. """ -ABS_TOL = 1e-6 +ABS_TOL = 1e-7 """ The absolute tolerance used in all "are these numbers equal" and "is this number less than (or equal to) that other number" tests. The CVXOPT -default is ``1e-7``, and we need a little bit of padding on top of that. +default is ``1e-7``, so we use that. Where we need to be more lenient, +we'll have to adjust it. """ -- 2.43.2