summaryrefslogtreecommitdiff
path: root/src/smt/sygus_solver.cpp
diff options
context:
space:
mode:
authorMathias Preiner <mathias.preiner@gmail.com>2021-05-12 23:33:00 -0700
committerGitHub <noreply@github.com>2021-05-13 06:33:00 +0000
commit31242de4b423d7225174dd1672edb2dacb68f5b8 (patch)
tree657a453475affc67628b1391909af92f3346b411 /src/smt/sygus_solver.cpp
parentffd7bb2069df08c31fd9d8a03d786f1e9fc7147c (diff)
Add std::hash overloads for Node, TNode and TypeNode. (#6534)
Eliminates NodeHashFunction, TNodeHashFunction and TypeNodeHashFunction.
Diffstat (limited to 'src/smt/sygus_solver.cpp')
-rw-r--r--src/smt/sygus_solver.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/smt/sygus_solver.cpp b/src/smt/sygus_solver.cpp
index 317bb2646..37d752230 100644
--- a/src/smt/sygus_solver.cpp
+++ b/src/smt/sygus_solver.cpp
@@ -285,7 +285,7 @@ void SygusSolver::checkSynthSolution(Assertions& as)
}
Trace("check-synth-sol") << "Got solution map:\n";
// the set of synthesis conjectures in our assertions
- std::unordered_set<Node, NodeHashFunction> conjs;
+ std::unordered_set<Node> conjs;
// For each of the above conjectures, the functions-to-synthesis and their
// solutions. This is used as a substitution below.
std::map<Node, std::vector<Node>> fvarMap;
@@ -317,7 +317,7 @@ void SygusSolver::checkSynthSolution(Assertions& as)
// auxiliary assertions
std::vector<Node> auxAssertions;
// expand definitions cache
- std::unordered_map<Node, Node, NodeHashFunction> cache;
+ std::unordered_map<Node, Node> cache;
for (Node assertion : *alist)
{
Notice() << "SygusSolver::checkSynthSolution(): checking assertion "
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback