Skip to content

Commit

Permalink
fix: rm dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
zcstarr committed Mar 18, 2024
1 parent ba17a0b commit 8ce9e36
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions cadCAD/engine/execution.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,20 +48,6 @@ def single_proc_exec(
return flatten(results)


def process_executor(params):
if len_configs_structs > 1:
with ProcessPool(processes=len_configs_structs) as pp:
results = pp.map(
lambda t: t[0](t[1], t[2], t[3], t[4], t[5],
t[6], t[7], t[8], t[9], configured_n), params
)
else:
t = params[0]
results = t[0](t[1], t[2], t[3], t[4], t[5], t[6],
t[7], t[8], t[9], configured_n)
return results


def process_executor(params):
simulation_exec, var_dict, states_list, config, env_processes, T, sim_id, N, subset_id, subset_window, configured_n = params

Expand Down

0 comments on commit 8ce9e36

Please sign in to comment.