Changeset 4295


Ignore:
Timestamp:
Feb 11, 2020 5:58:06 AM (21 months ago)
Author:
vondreele
Message:

fix crash on zero cycles (e.g.in a simulation)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIImath.py

    r4291 r4295  
    165165        G2fil.G2Print(' Hessian Levenberg-Marquardt SVD refinement on %d variables:'%(n))
    166166    Lam = np.zeros((n,n))
     167    Xvec = np.zeros(len(x0))
    167168    while icycle < maxcyc:
    168169        time0 = time.time()
Note: See TracChangeset for help on using the changeset viewer.