summaryrefslogtreecommitdiff
path: root/src/theory/quantifiers/sygus/sygus_unif.cpp
diff options
context:
space:
mode:
authorAndrew Reynolds <andrew.j.reynolds@gmail.com>2020-04-15 02:34:33 -0500
committerGitHub <noreply@github.com>2020-04-15 02:34:33 -0500
commit3f3a0445fe772360d8a2da3069a5f082c031d7f8 (patch)
treebf78f4bbe23ca8f88cf23aca0f31e0594765799f /src/theory/quantifiers/sygus/sygus_unif.cpp
parentc808605ef15eb79f9ddc2d1a2b4f6dd052530877 (diff)
Convert more cases of strings to words (#4206)
Diffstat (limited to 'src/theory/quantifiers/sygus/sygus_unif.cpp')
-rw-r--r--src/theory/quantifiers/sygus/sygus_unif.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/theory/quantifiers/sygus/sygus_unif.cpp b/src/theory/quantifiers/sygus/sygus_unif.cpp
index fdc8120ff..dfbbdfebf 100644
--- a/src/theory/quantifiers/sygus/sygus_unif.cpp
+++ b/src/theory/quantifiers/sygus/sygus_unif.cpp
@@ -97,8 +97,8 @@ Node SygusUnif::constructBestConditional(Node ce,
Node SygusUnif::constructBestStringToConcat(
const std::vector<Node>& strs,
- const std::map<Node, unsigned>& total_inc,
- const std::map<Node, std::vector<unsigned>>& incr)
+ const std::map<Node, size_t>& total_inc,
+ const std::map<Node, std::vector<size_t>>& incr)
{
Assert(!strs.empty());
std::vector<Node> strs_tmp = strs;
@@ -106,7 +106,7 @@ Node SygusUnif::constructBestStringToConcat(
// prefer one that has incremented by more than 0
for (const Node& ns : strs_tmp)
{
- const std::map<Node, unsigned>::const_iterator iti = total_inc.find(ns);
+ const std::map<Node, size_t>::const_iterator iti = total_inc.find(ns);
if (iti != total_inc.end() && iti->second > 0)
{
return ns;
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback