Skip to content

Commit

Permalink
Merge pull request #1016 from to266/BUGFIX_self_self
Browse files Browse the repository at this point in the history
self.self no more
  • Loading branch information
francisco-dlp committed May 26, 2016
2 parents 24285d2 + 01c2aef commit c0572b8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hyperspy/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -869,7 +869,7 @@ def fit(self, fitter=None, method='ls', grad=False,
if bounded is True:
self.set_boundaries()
elif bounded is False:
self.self.free_parameters_boundaries = None
self.free_parameters_boundaries = None
self.p0 = fmin_tnc(
tominimize,
self.p0,
Expand All @@ -882,7 +882,7 @@ def fit(self, fitter=None, method='ls', grad=False,
if bounded is True:
self.set_boundaries()
elif bounded is False:
self.self.free_parameters_boundaries = None
self.free_parameters_boundaries = None
self.p0 = fmin_l_bfgs_b(
tominimize, self.p0, fprime=fprime, args=args,
bounds=self.free_parameters_boundaries,
Expand Down

0 comments on commit c0572b8

Please sign in to comment.