Skip to content

Commit

Permalink
Passing persis_info in Nicole's gen_f
Browse files Browse the repository at this point in the history
  • Loading branch information
jmlarson1 committed Feb 11, 2019
1 parent ad6efbe commit 2c6a01d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libensemble/alloc_funcs/start_only_persistent.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def only_persistent_gens(W, H, sim_specs, gen_specs, persis_info):

# perform sim evaluations from existing runs (if they exist).
sim_ids_to_send = np.nonzero(task_avail)[0][0] # oldest point
sim_work(Work, i, sim_specs['in'], np.atleast_1d(sim_ids_to_send), [])
sim_work(Work, i, sim_specs['in'], np.atleast_1d(sim_ids_to_send), persis_info[i])
task_avail[sim_ids_to_send] = False

elif gen_count == 0:
Expand Down

0 comments on commit 2c6a01d

Please sign in to comment.