Skip to content

Commit

Permalink
Remove e-06 from default magnetic values
Browse files Browse the repository at this point in the history
  • Loading branch information
rozyczko committed Oct 4, 2018
1 parent 8ac8717 commit 658795d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/sas/qtgui/Perspectives/Fitting/FittingWidget.py
Original file line number Diff line number Diff line change
Expand Up @@ -2975,11 +2975,11 @@ def setMagneticModel(self):
return
self._magnet_model.clear()
# default initial value
m0 = 0.5e-06
m0 = 0.5
for param in self.model_parameters.call_parameters:
if param.type != 'magnetic': continue
if "M0" in param.name:
m0 += 0.5e-06
m0 += 0.5
value = m0
else:
value = param.default
Expand Down

0 comments on commit 658795d

Please sign in to comment.