Skip to content

Commit b925460

Browse files
committed
Mending typos
1 parent d12b319 commit b925460

2 files changed

Lines changed: 7 additions & 7 deletions

File tree

libensemble/tests/functionality_tests/test_uniform_sampling_cancel.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -88,38 +88,38 @@ def create_H0(persis_info, gen_specs, sim_max):
8888
sim_max = 500
8989
exit_criteria = {"sim_max": sim_max, "wallclock_max": 300}
9090

91-
aspec1 = {
91+
a_spec_1 = {
9292
"alloc_f": gswf,
9393
"user": {
9494
"batch_mode": True,
9595
"num_active_gens": 1,
9696
},
9797
}
9898

99-
aspec2 = {
99+
a_spec_2 = {
100100
"alloc_f": gswf,
101101
"user": {
102102
"batch_mode": True,
103103
"num_active_gens": 2,
104104
},
105105
}
106106

107-
aspec3 = {
107+
a_spec_3 = {
108108
"alloc_f": fast_gswf,
109109
"user": {},
110110
}
111111

112-
aspec4 = {
112+
a_spec_4 = {
113113
"alloc_f": ensure_one_active_gen,
114114
"user": {},
115115
}
116116

117-
aspec5 = {
117+
a_spec_5 = {
118118
"alloc_f": give_pregenerated_sim_work,
119119
"user": {},
120120
}
121121

122-
allocs = {1: aspec1, 2: aspec2, 3: aspec3, 4: aspec4, 5: aspec5}
122+
allocs = {1: a_spec_1, 2: a_spec_2, 3: a_spec_3, 4: a_spec_4, 5: a_spec_5}
123123

124124
if is_manager:
125125
print("Testing cancellations with non-persistent gen functions")

libensemble/tools/alloc_support.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ def gen_work(self, wid, H_fields, H_rows, persis_info, **libE_info):
292292
return work
293293

294294
def _filter_points(self, H_in, pt_filter, low_bound):
295-
"""Returns H and pt_filter filted by lower bound
295+
"""Returns H and pt_filter filtered by lower bound
296296
297297
:param pt_filter: (Optional) Boolean array filtering expected returned points in ``H``.
298298
:param low_bound: (Optional) Lower bound for testing all returned.

0 commit comments

Comments
 (0)