Skip to content

Commit

Permalink
Fix bad index in 'zdd_disjoint' path pruning
Browse files Browse the repository at this point in the history
This mistake was introduced in the refactoring of 18c3619 . As such, it does not
produce incorrect answers. But, it does make it slower that it truly needs to
be.
  • Loading branch information
SSoelvsten committed Nov 5, 2023
1 parent 633ff66 commit fc5c6ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/adiar/zdd/pred.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ namespace adiar
}

// Has the right-hand side fallen out of its set?
if (rp[0].is_false()) {
if (rp[1].is_false()) {
return false;
}

Expand Down

0 comments on commit fc5c6ff

Please sign in to comment.