From 5b1c1a2b27e20ac85b5180269486825c763a0ec5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Ne=C4=8Dada?= Date: Sun, 19 Aug 2018 10:55:48 +0000 Subject: [PATCH] =?UTF-8?q?testy=20kvadratur=20-=20=C5=99=C3=ADd=C3=ADc?= =?UTF-8?q?=C3=AD=20makra?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Former-commit-id: f45885c614269b701c3ef4939fd00af6e3088400 --- tests/gsl-int/quadratures.c | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/tests/gsl-int/quadratures.c b/tests/gsl-int/quadratures.c index 4819e9b..07b0abe 100644 --- a/tests/gsl-int/quadratures.c +++ b/tests/gsl-int/quadratures.c @@ -3,10 +3,19 @@ #include #include +#ifndef EPSABS #define EPSABS 0 +#endif +#ifndef EPSREL #define EPSREL 1e-8 +#endif +#ifndef LIMIT #define LIMIT 8192 //??? -#define R0 1 +#endif +#ifndef R0 +#define R0 8e-6 +#endif + /* Relevant quadrature methods from gsl: * gsl_integration_qagiu