Changeset 1954 for trunk/GSASIImath.py


Ignore:
Timestamp:
Aug 10, 2015 3:48:11 PM (7 years ago)
Author:
vondreele
Message:

add print line whwn lambda is changed in Levenberg-Marquardt refinement
use ftol for stopping refinement (wasn't used before)
try LS on SS - some easy mods to get to start
SS monoclinic special pos constraints checked OK

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIImath.py

    r1952 r1954  
    140140            nfev += 1
    141141            chisq1 = np.sum(M2**2)
    142             if chisq1 > chisq0:
     142            if chisq1 > chisq0*(1.+ftol):
    143143                lam *= 10.
     144                print 'matrix modification needed; lambda now %.1e'%(lam)
    144145            else:
    145146                x0 += Xvec
Note: See TracChangeset for help on using the changeset viewer.