Changeset 1003 for trunk/GSASIImath.py


Ignore:
Timestamp:
Jul 20, 2013 10:44:52 PM (10 years ago)
Author:
vondreele
Message:

put Hessian eds calc back where they were (maybe a bit cleaner now).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIImath.py

    r1001 r1003  
    148148    nfev += 1
    149149    Yvec,Amat = Hess(x0,*args)
    150     Amatlam = Amat*(One+Lam)
     150    Amatlam = Amat          #*(One+Lam)/Anorm
    151151    try:
    152         Bmat = nl.inv(Amatlam)*(One+Lam)/Anorm
     152        Bmat = nl.inv(Amatlam)          #*(One+Lam)/Anorm
    153153        return [x0,Bmat,{'num cyc':icycle,'fvec':M,'nfev':nfev,'lamMax':lamMax,'psing':[]}]
    154154    except nl.LinAlgError:
Note: See TracChangeset for help on using the changeset viewer.