Changeset 5290


Ignore:
Timestamp:
May 27, 2022 8:35:35 AM (18 months ago)
Author:
vondreele
Message:

fix to non 'analytical Hessian'; add 'num cyc' to results[2].

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIIstrMain.py

    r5287 r5290  
    181181                args=([Histograms,Phases,restraintDict,rigidbodyDict],parmDict,varyList,calcControls,pawleyLookup,dlg))
    182182            ncyc = int(result[2]['nfev']/2)
     183            result[2]['num cyc'] = ncyc
    183184            if refPlotUpdate is not None: refPlotUpdate(Histograms)   # update plot after completion
    184185        elif 'analytic Hessian' in Controls['deriv type']:
     
    214215                args=([Histograms,Phases,restraintDict,rigidbodyDict],parmDict,varyList,calcControls,pawleyLookup,dlg))
    215216            ncyc = 1
     217            result[2]['num cyc'] = ncyc
    216218            if len(varyList):
    217219                ncyc = int(result[2]['nfev']/len(varyList))
Note: See TracChangeset for help on using the changeset viewer.