Commit e6697adb authored by theos's avatar theos
Browse files

Fixed a bug in the seed generator of non-parallel diagonal probing.

parent 6b0bd3ed
......@@ -9851,8 +9851,9 @@ class probing(object):
_sum = 0
_num = 0
_var = 0
random_seeds = np.random.randint(10**8,high=None,size=self.nrun)
for ii in xrange(self.nrun):
result = self._single_probing((np.random.randint(10**8,high=None,size=None),ii)) ## tuple(seed,idnum)
result = self._single_probing((random_seeds[ii], ii)) ## tuple(seed,idnum)
if(result is not None):
_sum += result ## result: {scalar, np.array}
_num += 1
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment