Changeset 984 for trunk/GSASIImath.py
- Timestamp:
- Jul 8, 2013 7:30:27 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/GSASIImath.py
r981 r984 147 147 nfev += 1 148 148 Yvec,Amat = Hess(x0,*args) 149 lam = 1.e-8 #unmodified matrix - comment out for matrix modification 149 150 Lam = np.eye(Amat.shape[0])*lam 150 151 Amatlam = Amat*(One+Lam) … … 2329 2330 x0 = schedule.getstart_temp(best_state) 2330 2331 else: 2331 # x0 = random.uniform(size=len(x0))*(upper-lower) + lower 2332 x0 = random.uniform(size=len(x0))*(upper-lower) + lower #comment to avoid random start 2332 2333 best_state.x = None 2333 2334 best_state.cost = numpy.Inf
Note: See TracChangeset
for help on using the changeset viewer.