mirror of
https://github.com/fjosw/pyerrors.git
synced 2025-03-15 14:50:25 +01:00
fix: Fit_result.gamma_method can now be called with kwargs
This commit is contained in:
parent
0b6b98990d
commit
6bd724715f
1 changed files with 2 additions and 2 deletions
|
@ -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'
|
||||
|
|
Loading…
Add table
Reference in a new issue