summaryrefslogtreecommitdiff
path: root/src/theory/quantifiers/term_util.cpp
diff options
context:
space:
mode:
authorAina Niemetz <aina.niemetz@gmail.com>2020-03-27 12:05:48 -0700
committerGitHub <noreply@github.com>2020-03-27 12:05:48 -0700
commit6633def81a5cf40333464e1ed0d9612ffd6763ac (patch)
tree44b09ae99906956208702a4888a78e5fc55b0b50 /src/theory/quantifiers/term_util.cpp
parent4477a899a8d18a8bb901e77317892443c2df3aa2 (diff)
parent4b7fc20dcce9eefdf568937f5e2c54141c4f5c5b (diff)
Merge branch 'master' into issue4151
Diffstat (limited to 'src/theory/quantifiers/term_util.cpp')
-rw-r--r--src/theory/quantifiers/term_util.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/theory/quantifiers/term_util.cpp b/src/theory/quantifiers/term_util.cpp
index 7f94130f3..cc920f1d7 100644
--- a/src/theory/quantifiers/term_util.cpp
+++ b/src/theory/quantifiers/term_util.cpp
@@ -25,6 +25,7 @@
#include "theory/quantifiers/term_database.h"
#include "theory/quantifiers/term_enumeration.h"
#include "theory/quantifiers_engine.h"
+#include "theory/strings/word.h"
#include "theory/theory_engine.h"
using namespace std;
@@ -464,11 +465,11 @@ Node TermUtil::mkTypeValue(TypeNode tn, int val)
n = NodeManager::currentNM()->mkConst(false);
}
}
- else if (tn.isString())
+ else if (tn.isStringLike())
{
if (val == 0)
{
- n = NodeManager::currentNM()->mkConst(::CVC4::String(""));
+ n = strings::Word::mkEmptyWord(tn);
}
}
return n;
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback