basnijholt / adaptive

:chart_with_upwards_trend: Tools for adaptive and parallel samping of mathematical functions
http://adaptive.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Runners should tell learner about remaining points at end of run #94

Closed jgukelberger closed 3 years ago

jgukelberger commented 3 years ago

Currently, BlockingRunner will wait for all futures that are running when the goal is reached, but then ignore their results. Looking at the code, AsyncRunner has the same behaviour.

This seems like a waste. I think it should just self._process_futures(remaining) after the wait.

jgukelberger commented 3 years ago

Mistakenly opened on fork. Closing here and posting at python-adaptive.