Changeset 4840 for trunk/GSASIImath.py


Ignore:
Timestamp:
Mar 5, 2021 1:54:34 PM (9 months ago)
Author:
toby
Message:

LeBail? issues: bug on zero cycles fixed; new LeBail? fit menu item; HessianLSQ: remove extra func eval on 0 cycles; fix noprint options; misc cleanups

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIImath.py

    r4839 r4840  
    359359    nfev += 1
    360360    try:
    361         M = func(x0,*args)
     361        if icycle == 0: # no parameter changes, skip recalc
     362            M = M2
     363        else:
     364            M = func(x0,*args)
    362365    except Exception as Msg:
    363366        if not hasattr(Msg,'msg'): Msg.msg = str(Msg)
Note: See TracChangeset for help on using the changeset viewer.