IndexerThreadPool: IndexerThreadPool return value, not promise + if no spots or no indexing algorithm, don't queue

This commit is contained in:
2026-04-16 19:40:27 +02:00
parent 7899765e5f
commit 5a830d7af6
4 changed files with 15 additions and 7 deletions
+1 -1
View File
@@ -72,7 +72,7 @@ void RotationIndexer::TryIndex() {
coords_sel = coords_;
}
auto indexer_result = indexer_.Run(experiment, coords_sel).get();
auto indexer_result = indexer_.Run(experiment, coords_sel);
if (!indexer_result.lattice.empty()) {
// Find lattice type
search_result_ = LatticeSearch(indexer_result.lattice[0]);