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

1D: do not use points outside of the bounds in the point chosing algorithms

parent e636e65a
No related branches found
No related tags found
1 merge request!107Introduce 'tell_pending' which replaces 'tell(x, None)'
Pipeline #12205 passed
......@@ -253,6 +253,9 @@ class Learner1D(BaseLearner):
except TypeError:
self._vdim = 1
if not self.bounds[0] <= x <= self.bounds[1]:
return
self.update_neighbors(x, self.neighbors_combined)
self.update_neighbors(x, self.neighbors)
self.update_scale(x, y)
......
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