From b514bdee675003679d917dc1bf6214c1d9c97bf8 Mon Sep 17 00:00:00 2001 From: Fabian Joswig Date: Sun, 31 Oct 2021 12:02:02 +0000 Subject: [PATCH] bug in fit general fixed --- pyerrors/fits.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyerrors/fits.py b/pyerrors/fits.py index b5dc992e..8de045db 100644 --- a/pyerrors/fits.py +++ b/pyerrors/fits.py @@ -667,7 +667,7 @@ def ks_test(obs=None): print(scipy.stats.kstest(Qs, 'uniform')) -def fit_general(x, y, func, silent=silent, **kwargs): +def fit_general(x, y, func, silent=False, **kwargs): """Performs a non-linear fit to y = func(x) and returns a list of Obs corresponding to the fit parameters. Plausibility of the results should be checked. To control the numerical differentiation