From 4b2e48f459a3113c5d00759d87b37199d19e8421 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Ne=C4=8Dada?= Date: Wed, 18 Mar 2020 09:34:05 +0200 Subject: [PATCH] Reduce tolerances as a workaround for inprecise integration. Former-commit-id: bff40ebc4b77a7621b609669ac690475ae0c6fd4 --- qpms/tolerances.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qpms/tolerances.h b/qpms/tolerances.h index 48e0a13..14939a6 100644 --- a/qpms/tolerances.h +++ b/qpms/tolerances.h @@ -10,6 +10,6 @@ typedef struct qpms_tolerance_spec_t { } qpms_tolerance_spec_t; /// A rather arbitrary default tolerance. -static const qpms_tolerance_spec_t QPMS_TOLERANCE_DEFAULT = {.atol = 1e-15, .rtol = 1e-8}; +static const qpms_tolerance_spec_t QPMS_TOLERANCE_DEFAULT = {.atol = 1e-9, .rtol = 1e-8}; #endif // QPMS_TOLERANCES_H