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

update doc-string

parent e7df6eb0
No related branches found
No related tags found
No related merge requests found
......@@ -50,6 +50,7 @@ class Learner1D(object):
self._scale = [0, 0]
self._oldscale = [0, 0]
# A dict with {x_n: concurrent.futures}
self.unfinished = {}
# Add initial data if provided
......@@ -176,6 +177,7 @@ class Learner1D(object):
self.add_point(x, y)
def add_futures(self, xs, ys):
"""Add concurrent.futures to the self.unfinished dict."""
try:
for x, y in zip(xs, ys):
self.unfinished[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