Skip to content
Snippets Groups Projects
Commit dc57ba19 authored by Bas Nijholt's avatar Bas Nijholt
Browse files

2D: fix #109

parent bc5de332
No related branches found
No related tags found
1 merge request!1162D: fix #109
Pipeline #12336 passed
......@@ -386,7 +386,7 @@ class Learner2D(BaseLearner):
# it could fill up till a length smaller than `stack_till`.
new_points, new_loss_improvements = self._fill_stack(
stack_till=max(n_left, self.stack_size))
for p in points[:n_left]:
for p in new_points[:n_left]:
self.tell_pending(p)
n_left -= len(new_points)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment