This PR fixes an issue that TaskManager class was only ever being reliably usable once due to its internal iterator and permutation not being reset in further invocations.
Β
Fixes #347
Checklist:
[x] The pull request only contains commits that are related to it.
[x] I have added appropriate tests and documentation.
[x] I have made sure that all CI jobs on GitHub pass.
[x] The pull request introduces no new warnings and follows the project's style guidelines.
Description
This PR fixes an issue that
TaskManager
class was only ever being reliably usable once due to its internal iterator and permutation not being reset in further invocations. Β Fixes #347Checklist: