fix: removed automatic call to gamma_method in __str__ method of

Fit_results class
This commit is contained in:
Fabian Joswig 2022-02-15 12:24:14 +00:00
parent 1a48d6939a
commit ddfd7a2a39
2 changed files with 1 additions and 2 deletions

View file

@ -39,7 +39,6 @@ class Fit_result(Sequence):
[o.gamma_method() for o in self.fit_parameters]
def __str__(self):
self.gamma_method()
my_str = 'Goodness of fit:\n'
if hasattr(self, 'chisquare_by_dof'):
my_str += '\u03C7\u00b2/d.o.f. = ' + f'{self.chisquare_by_dof:2.6f}' + '\n'