Skip to content

Commit

Permalink
Don't break early if searching subterms in get_predicates (#260)
Browse files Browse the repository at this point in the history
  • Loading branch information
makaimann committed May 4, 2021
1 parent 8ccdf98 commit eae4450
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/term_analysis.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ void get_predicates(const SmtSolver & solver,
}
}

if (t->get_sort() != boolsort) {
if (!search_subterms && t->get_sort() != boolsort) {
// not a candidate for predicates
continue;
}
Expand Down

0 comments on commit eae4450

Please sign in to comment.