Skip to content

Commit cd7b0bd

Browse files
committed
Fix typo for when all inputs are floats
1 parent 471ef62 commit cd7b0bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: 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)