From: Michael Orlitzky Date: Tue, 1 Nov 2016 00:11:26 +0000 (-0400) Subject: Set options.ABS_TOL to 1e-7; we should adjust it elsewhere if needed. X-Git-Tag: 0.1.0~103 X-Git-Url: https://gitweb.michael.orlitzky.com/?a=commitdiff_plain;h=90a06c2530e34b48d29f8a154a529072dbe2abea;p=dunshire.git Set options.ABS_TOL to 1e-7; we should adjust it elsewhere if needed. --- 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. """