There was an error while loading. Please reload this page.
1 parent f15abee commit 7db1d38Copy full SHA for 7db1d38
1 file changed
tsinfer/inference.py
@@ -1838,11 +1838,7 @@ def match_ancestors(self):
1838
)
1839
else:
1840
batch_results = self.match_locally(batch_ancestor_ids)
1841
- batch_results_list = []
1842
- for result in batch_results:
1843
- batch_results_list.append(result)
1844
- self.match_progress.update()
1845
- batch_results = batch_results_list
+ batch_results = list(batch_results)
1846
cache.put(key, batch_results)
1847
1848
logger.info(
0 commit comments