Changeset 23ff8d5 in sasview for src


Ignore:
Timestamp:
Oct 4, 2018 7:49:52 AM (6 years ago)
Author:
GitHub <noreply@…>
Children:
373e81b
Parents:
5323490
git-author:
Piotr Rozyczko <piotr.rozyczko@…> (10/04/18 07:49:52)
git-committer:
GitHub <noreply@…> (10/04/18 07:49:52)
Message:

Revert "remove e-06 from default magnetism values. Refs #1004 (#188)"

This reverts commit 5323490d62009a786d3d071b2197b51ce207354d.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sas/sasgui/perspectives/fitting/basepage.py

    r5323490 r23ff8d5  
    28842884            self.magnetic_on = True 
    28852885            button.SetLabel("Magnetic OFF") 
    2886             m_value = 1 
     2886            m_value = 1.0e-06 
    28872887            for key in self.model.magnetic_params: 
    28882888                if key.count('M0') > 0: 
    28892889                    self.model.setParam(key, m_value) 
    2890                     m_value += 0.5 
     2890                    m_value += 0.5e-06 
    28912891        else: 
    28922892            self.magnetic_on = False 
Note: See TracChangeset for help on using the changeset viewer.