Skip to content

Commit

Permalink
Revert OpenMP edits (will try to incorporate Sergei's fix)
Browse files Browse the repository at this point in the history
  • Loading branch information
niemasd committed Nov 17, 2023
1 parent 45c86d2 commit 3d8be03
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/ShortestPathTN93.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ void relaxDistanceEstimates (const unsigned long theSequence, const long firstSe


#if _OPENMP >= 200805
#pragma omp parallel for default(none) shared(my_distance_estimate,nodeParents,workingNodes,distanceEstimates)
#pragma omp parallel for default(none) shared(my_distance_estimate,nodeParents,workingNodes,distanceEstimates, step_penalty, min_overlap, resolutionOption, firstSequenceLength, theSequence, left_to_do)
#else
#pragma omp parallel for default(none) shared(my_distance_estimate,nodeParents,workingNodes,distanceEstimates)
#endif
Expand Down
2 changes: 1 addition & 1 deletion src/read_reducer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ void handle_a_sequence (StringBuffer& current_sequence, StringBuffer& current_cl

#ifdef _OPENMP
#if _OPENMP >= 200805
#pragma omp parallel for default(none) shared(currently_defined_clusters, try_cluster, sequence_lengths, current_sequence, current_clusters)
#pragma omp parallel for default(none) shared(currently_defined_clusters, try_cluster, sequence_lengths, current_sequence, current_clusters, firstSequenceLength, min_overlap)
#else
#pragma omp parallel for default(none) shared(currently_defined_clusters, try_cluster)
#endif
Expand Down

0 comments on commit 3d8be03

Please sign in to comment.