Changeset 3595


Ignore:
Timestamp:
Sep 13, 2018 10:47:17 AM (3 years ago)
Author:
vondreele
Message:

fix singular matrix problem for magnetic atoms with zero moment.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIstrMath.py

    r3433 r3595  
    616616                keys[key][iatm] = parmDict[parm]
    617617    Fdata = np.where(Fdata,Fdata,1.e-8)         #avoid divide by zero in derivative calc.
     618    Gdata = np.where(Gdata,Gdata,1.e-8)         #avoid divide by zero in derivative calc.
     619   
    618620    return Tdata,Mdata,Fdata,Xdata,dXdata,IAdata,Uisodata,Uijdata,Gdata
    619621   
Note: See TracChangeset for help on using the changeset viewer.