fixed failures

This commit is contained in:
Michael Zargham 2019-06-01 01:11:47 -07:00
parent 86a93d41be
commit 3f3996ce78
3 changed files with 46 additions and 82 deletions

File diff suppressed because one or more lines are too long

View File

@ -200,7 +200,7 @@ def check_progress(params, step, sL, s):
if np.random.rand() < likelihood:
completed.append(j)
elif np.random.rand() < failure_rate:
completed.append(j)
failed.append(j)
return({'completed':completed, 'failed':failed})