IndexerThreadPool: IndexerThreadPool return value, not promise + if no spots or no indexing algorithm, don't queue
This commit is contained in:
@@ -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]);
|
||||
|
||||
Reference in New Issue
Block a user