Skip to content

Commit

Permalink
map: update mapping selection logic based on merge and split parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreaGuarracino committed Jan 14, 2025
1 parent ed3b6d2 commit 50f1e73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/map/include/computeMap.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -1049,7 +1049,7 @@ namespace skch
QueryMappingOutput* output = nullptr;
if (merged_queue.try_pop(output)) {
seqno_t querySeqId = idManager->getSequenceId(output->queryName);
auto& mappings = output->results;
auto& mappings = param.mergeMappings && param.split ? output->mergedResults : output->results;
// Chain IDs are already compacted in mapModule
combinedMappings[querySeqId].insert(
combinedMappings[querySeqId].end(),
Expand Down

0 comments on commit 50f1e73

Please sign in to comment.