Changeset 4760 for trunk


Ignore:
Timestamp:
Jan 11, 2021 9:15:15 AM (9 months ago)
Author:
toby
Message:

fix zero cycle bug

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIImath.py

    r4709 r4760  
    213213        info = {'num cyc':0,'fvec':M2,'nfev':1,'lamMax':0,'psing':[],'SVD0':0}
    214214        info['msg'] = 'no variables: skipping refinement\n'
    215         return [x0,None,info]
     215        info.update({'Converged':True, 'DelChi2':0, 'Xvec':[], 'chisq0':chisq00})
     216        return [x0,[],info]
     217    indices = range(n)
    216218    while icycle < maxcyc:
    217219        M = M2
Note: See TracChangeset for help on using the changeset viewer.