From 184c0f1869a69f6cdd89fc0ccca5b50ac7333c2f Mon Sep 17 00:00:00 2001 From: Jeffrey Larson Date: Mon, 27 Jan 2020 13:00:13 -0600 Subject: [PATCH] Symmetry with other arguments and clarifying 'defaults' name --- libensemble/libE.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libensemble/libE.py b/libensemble/libE.py index 0e7f4798c..ea5d23b28 100644 --- a/libensemble/libE.py +++ b/libensemble/libE.py @@ -27,7 +27,7 @@ from libensemble.history import History from libensemble.libE_manager import manager_main, ManagerException from libensemble.libE_worker import worker_main -from libensemble.alloc_funcs import defaults +from libensemble.alloc_funcs import defaults as alloc_defaults from libensemble.comms.comms import QCommProcess, Timeout from libensemble.comms.logs import manager_logging_config from libensemble.comms.tcp_mgr import ServerQCommManager, ClientQCommManager @@ -41,7 +41,7 @@ def libE(sim_specs, gen_specs, exit_criteria, persis_info={}, - alloc_specs=None, + alloc_specs={}, libE_specs={}, H0=[]): """ @@ -111,7 +111,7 @@ def libE(sim_specs, gen_specs, exit_criteria, # Set default alloc_specs if not alloc_specs: - alloc_specs = defaults.alloc_specs + alloc_specs = alloc_defaults.alloc_specs # Set default comms if 'comms' not in libE_specs: