Changeset 1095


Ignore:
Timestamp:
Oct 9, 2013 12:33:32 PM (8 years ago)
Author:
vondreele
Message:

make seed %100000

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GSASIImath.py

    r1094 r1095  
    24212421def worker(iCyc,data,RBdata,reflType,reflData,covData,out_q,nprocess=-1):
    24222422    outlist = []
    2423     rn.seed(int(time.time())%10+nprocess)   #make sure each process has a different random start
     2423    rn.seed(int(time.time())%100000+nprocess)   #make sure each process has a different random start
    24242424    for n in range(iCyc):
    24252425        result = mcsaSearch(data,RBdata,reflType,reflData,covData,None)
Note: See TracChangeset for help on using the changeset viewer.