Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
HanielB committed Mar 22, 2024
1 parent f2014a6 commit f7740c9
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/smt/solver_engine.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1815,8 +1815,11 @@ std::vector<Node> SolverEngine::getHints()
{
currResults.clear();
currResults.push_back(p.second);
Assert(rewriteInsts.find(p.first) != rewriteInsts.end());
currResults.insert(currResults.end(), rewriteInsts[p.first].begin(), rewriteInsts[p.first].end());
auto it = rewriteInsts.find(p.first);
if (it != rewriteInsts.end())
{
currResults.insert(currResults.end(), it->second.begin(), it->second.end());
}
result.push_back(nm->mkNode(Kind::SEXPR, currResults));
}
return result;
Expand Down

0 comments on commit f7740c9

Please sign in to comment.