From 658795d91caf48aa47200c008f4b3abe1db6a61e Mon Sep 17 00:00:00 2001 From: Piotr Rozyczko Date: Thu, 4 Oct 2018 13:52:28 +0200 Subject: [PATCH] Remove e-06 from default magnetic values --- src/sas/qtgui/Perspectives/Fitting/FittingWidget.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/sas/qtgui/Perspectives/Fitting/FittingWidget.py b/src/sas/qtgui/Perspectives/Fitting/FittingWidget.py index 3bba092ab6..ad0febf0f3 100644 --- a/src/sas/qtgui/Perspectives/Fitting/FittingWidget.py +++ b/src/sas/qtgui/Perspectives/Fitting/FittingWidget.py @@ -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