Skip to content

Commit

Permalink
ENH: initialize a few more MinimizerResult attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
reneeotten committed Dec 7, 2021
1 parent 275d830 commit 36d1aa0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lmfit/minimizer.py
Original file line number Diff line number Diff line change
Expand Up @@ -717,6 +717,9 @@ def prepare_fit(self, params=None):
result.call_kws = {}
result.errorbars = False
result.aborted = False
result.success = True
result.covar = None

for name, par in self.result.params.items():
par.stderr = None
par.correl = None
Expand Down

0 comments on commit 36d1aa0

Please sign in to comment.