Ignore:
Timestamp:
May 31, 2017 11:13:41 AM (6 years ago)
Author:
vondreele
Message:

turn off debug in TIF reader
provide better(?) trap for LinAlgErrors? from SVD

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIstrMain.py

    r2846 r2847  
    100100            covMatrix = result[1]*Rvals['GOF']**2
    101101            sig = np.sqrt(np.diag(covMatrix))
    102             if np.any(np.isnan(sig)):
     102            if np.any(np.isnan(sig)) or not sig.shape:
    103103                print '*** Least squares aborted - some invalid esds possible ***'
    104104#            table = dict(zip(varyList,zip(values,result[0],(result[0]-values)/sig)))
Note: See TracChangeset for help on using the changeset viewer.