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
@@ -56,7 +56,7 @@ IndexAndRefine::IndexingOutcome IndexAndRefine::DetermineLatticeAndSymmetry(Data
recip.push_back(i.ReciprocalCoord(geom_));
}
auto indexer_result = indexer_->Run(experiment, recip).get();
auto indexer_result = indexer_->Run(experiment, recip);
msg.indexing_time_s = indexer_result.indexing_time_s;
if (indexer_result.lattice.empty())