Changeset 731 for trunk


Ignore:
Timestamp:
Aug 23, 2012 8:44:03 AM (13 years ago)
Author:
vondreele
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified trunk/GSASIIstruct.py

    r730 r731  
    18681868        if 'PWLref' in item and parmDict[item] < 0.:
    18691869            pFxn[i] = -parmDict[item]**2        #checked OK
    1870     return pFxn
     1870    return pFxn/1000.
    18711871   
    18721872def penaltyDeriv(parmDict,varyList):
     
    18751875        if 'PWLref' in item and parmDict[item] < 0.:
    18761876            pDerv[i] += 2.*parmDict[item]
    1877     return pDerv/100.
     1877    return pDerv/1000.
    18781878
    18791879################################################################################
Note: See TracChangeset for help on using the changeset viewer.