Skip to content

Commit

Permalink
Format
Browse files Browse the repository at this point in the history
  • Loading branch information
ajreynol committed Dec 17, 2024
1 parent 2e46dea commit 3226cb0
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/expr/node_algorithm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -805,7 +805,7 @@ void getMatchConditions(Node n1, Node n2, std::vector<Node>& eqs)
for (size_t i = 0, n = curr.first.getNumChildren(); i < n; ++i)
{
// if there is a type mismatch, we can't unify
if (curr.first[i].getType()!=curr.second[i].getType())
if (curr.first[i].getType() != curr.second[i].getType())
{
stack.resize(prevSize);
rec = false;
Expand Down
10 changes: 5 additions & 5 deletions src/rewriter/basic_rewrite_rcons.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1168,11 +1168,11 @@ bool BasicRewriteRCons::ensureProofMacroQuantRewriteBody(CDProof* cdp,
// term context.
WithinKindTermContext wktc(Kind::INST_PATTERN_LIST);
TConvProofGenerator tcpg(d_env,
nullptr,
TConvPolicy::FIXPOINT,
TConvCachePolicy::NEVER,
"EnsureProofMacroQuantRewrite",
&wktc);
nullptr,
TConvPolicy::FIXPOINT,
TConvCachePolicy::NEVER,
"EnsureProofMacroQuantRewrite",
&wktc);
theory::quantifiers::QuantifiersRewriter qrew(
nodeManager(), d_env.getRewriter(), options());
Node qr = qrew.computeRewriteBody(eq[0], &tcpg);
Expand Down
2 changes: 1 addition & 1 deletion src/theory/quantifiers/quantifiers_rewriter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ Node QuantifiersRewriter::rewriteViaRule(ProofRewriteRule id, const Node& n)
while (varIndex < nvars && fvs.find(n[0][varIndex]) != fvs.end())
{
// cannot have shadowing
if (varsUsed.find(n[0][varIndex])!=varsUsed.end())
if (varsUsed.find(n[0][varIndex]) != varsUsed.end())
{
return Node::null();
}
Expand Down

0 comments on commit 3226cb0

Please sign in to comment.