Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions libensemble/gen_classes/aposmm.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@ def __init__(
x_mapping = self.variables_mapping["x"]
self.gen_specs["user"]["lb"] = np.array([vocs.variables[var].domain[0] for var in x_mapping])
self.gen_specs["user"]["ub"] = np.array([vocs.variables[var].domain[1] for var in x_mapping])
self.gen_specs["user"]["do_not_produce_sample_points"] = True

x_size = len(self.variables_mapping.get("x", []))
x_on_cube_size = len(self.variables_mapping.get("x_on_cube", []))
Expand Down
2 changes: 1 addition & 1 deletion libensemble/gen_funcs/persistent_aposmm.py
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ def aposmm(H, persis_info, gen_specs, libE_info):
fields_to_pass,
) = initialize_children(user_specs)

if user_specs["initial_sample_size"] != 0:
if user_specs["initial_sample_size"] != 0 and not user_specs.get("do_not_produce_sample_points", True):
# Send our initial sample. We don't need to check that n_s is large enough:
# the alloc_func only returns when the initial sample has function values.
persis_info = add_k_sample_points_to_local_H(
Expand Down