diff --git a/pyerrors/fits.py b/pyerrors/fits.py index ebe24df5..6c7ea066 100644 --- a/pyerrors/fits.py +++ b/pyerrors/fits.py @@ -34,9 +34,9 @@ class Fit_result(Sequence): def __len__(self): return len(self.fit_parameters) - def gamma_method(self): + def gamma_method(self, **kwargs): """Apply the gamma method to all fit parameters""" - [o.gamma_method() for o in self.fit_parameters] + [o.gamma_method(**kwargs) for o in self.fit_parameters] def __str__(self): my_str = 'Goodness of fit:\n' diff --git a/setup.py b/setup.py index 0a648496..31d810fc 100644 --- a/setup.py +++ b/setup.py @@ -18,7 +18,7 @@ setup(name='pyerrors', license="MIT", packages=find_packages(), python_requires='>=3.6.0', - install_requires=['numpy>=1.16', 'autograd>=1.4', 'numdifftools', 'matplotlib>=3.3', 'scipy', 'iminuit>=2', 'h5py', 'lxml', 'python-rapidjson'], + install_requires=['numpy>=1.16', 'autograd>=1.4', 'numdifftools', 'matplotlib>=3.3', 'scipy>=1', 'iminuit>=2', 'h5py', 'lxml', 'python-rapidjson'], classifiers=[ 'Development Status :: 5 - Production/Stable', 'Intended Audience :: Science/Research',