Skip to content

Commit 24c7e3d

Browse files
authored
Merge pull request #65 from RemiLehe/fix_typo
Fix typo, when all inputs are floats
2 parents 471ef62 + cd7b0bd commit 24c7e3d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rocketsled/task.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -588,7 +588,7 @@ def _discretize_space(self, dims, n_floats=100):
588588
dims_float = all([type(dim[0]) in dtypes.floats for dim in dims])
589589
if dims_float and dims_ranged:
590590
# Save computation/memory if all ranges of floats
591-
nf = self.n_searchpts
591+
nf = self.n_search_pts
592592
space = np.zeros((nf, len(dims)))
593593
for i, dim in enumerate(dims):
594594
low = dim[0]

0 commit comments

Comments
 (0)