Skip to content

Commit

Permalink
Merge pull request #583 from pangenome/untangle-wops
Browse files Browse the repository at this point in the history
fix variable type to avoid wrong lengths in the untangled PAF
  • Loading branch information
AndreaGuarracino authored Jul 9, 2024
2 parents f46b012 + edbdfa3 commit a1f169c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/algorithms/untangle.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -937,7 +937,7 @@ void untangle(
#pragma omp parallel for schedule(dynamic, 1) num_threads(num_threads)
for (uint64_t i = 0; i < paths.size(); ++i) {
auto& path = paths[i];
const uint16_t path_len = get_path_length(graph, paths[i]);
const uint64_t path_len = get_path_length(graph, paths[i]);

// You can't write on such a data structure in parallel
#pragma omp critical (path_to_len)
Expand Down

0 comments on commit a1f169c

Please sign in to comment.