Ignore:
Timestamp:
Jan 2, 2021 11:46:35 AM (10 months ago)
Author:
toby
Message:

improve refinement warnings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIImath_new.py

    r4693 r4699  
    274274                Amatlam = Amat*(1.+np.eye(Amat.shape[0])*lam)
    275275                Ainv,nz = pinv(Amatlam,xtol)    #do Moore-Penrose inversion (via SVD)
    276                 if nz > 0: G2fil.G2Print('Note: there are {} new SVD Zeros after drop',
     276                if nz > 0: G2fil.G2Print('Note: there are {} new SVD Zeros after drop'.format(nz),
    277277                                             mode='warn')
    278278            Xvec = np.inner(Ainv,Yvec)/Adiag      #solve for LS terms
Note: See TracChangeset for help on using the changeset viewer.