Skip to content

Commit

Permalink
Revert "Fix path comparison"
Browse files Browse the repository at this point in the history
This reverts commit cc2c32d.

Co-authored-by: claudiolor <[email protected]>
  • Loading branch information
morpheusthewhite and claudiolor committed Jul 2, 2020
1 parent cc2c32d commit f2e0b07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/GraphParallelDFS.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ void GraphParallelDFS::convertToDT() {
// update the path in the case in which
// - The path is empty, so this is the first time we meet this child
// - We found a path Br which is better than the current one
if(this->parents[child] == -1 || Br <= Qr){
if(Qr.empty() || Br <= Qr){
paths[child] = Br;

// the previous one, if existing, is a parent in the dag which is not present in the dt
Expand Down

0 comments on commit f2e0b07

Please sign in to comment.