Skip to content

Commit

Permalink
changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Guillermo Pérez authored and Guillermo Pérez committed Apr 5, 2017
1 parent 5abf243 commit 497d1a8
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions source/aig.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -962,6 +962,13 @@ std::vector<BDD> BDDAIG::mergeSomeSignals(BDD cube,
dep_next += 2;
bdd_next += 2;
}
// if dep_it is not dep_vector.end() and yet we're here, the number of
// subgames was odd and we need to add the last game back into the list
if (dep_it != dep_vector.end()) {
new_dep_vector.push_back(*dep_it);
new_bdd_vector.push_back(*bdd_it);
}
// now we update our vectors/lists
dep_vector = new_dep_vector;
bdd_vector = new_bdd_vector;
}
Expand Down

0 comments on commit 497d1a8

Please sign in to comment.