Skip to content

Commit

Permalink
some docs
Browse files Browse the repository at this point in the history
  • Loading branch information
yoni206 committed May 7, 2024
1 parent f2ef976 commit 642c64c
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/theory/bv/int_blaster.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -953,15 +953,20 @@ void IntBlaster::collectQuantificationData(Node n) {
Trace("int-blaster-debug") << "collectQuantificationData for: " << n << std::endl;
// populating d_quantifiedVariables
if (d_quantifiedVariables.find(n) == d_quantifiedVariables.end()) {
d_quantifiedVariables[n] = std::unordered_set<Node>();
// the set to assign to n
std::unordered_set<Node> qfvars;
// for bound variables, simply add them
if (n.getNumChildren() == 0) {
if (n.getKind() == Kind::BOUND_VARIABLE) {
qfvars.insert(n);
}
}
// for compound terms, add variables
// according to their children.
if (n.getNumChildren() > 0) {
for (Node child : n) {
// make sure d_quantifiedVariabls
// is populated for child
if (d_quantifiedVariables.find(child) == d_quantifiedVariables.end()) {
collectQuantificationData(child);
}
Expand Down

0 comments on commit 642c64c

Please sign in to comment.