diff options
author | Andrew Reynolds <andrew.j.reynolds@gmail.com> | 2018-09-26 23:25:14 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-26 23:25:14 -0500 |
commit | 9d98c926c971b70a04b8206e5b18c84b1dfeb38a (patch) | |
tree | 246cc806b018451c6bbad8acec71ab909c29c6e2 /src | |
parent | 8b8e40985b83354e7e4a503d217374eb7fbc45f0 (diff) |
Fix homogeneous string constant rewrite (#2545)
Diffstat (limited to 'src')
-rw-r--r-- | src/theory/strings/theory_strings_rewriter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/theory/strings/theory_strings_rewriter.cpp b/src/theory/strings/theory_strings_rewriter.cpp index f8bbeecf5..ad8591b3b 100644 --- a/src/theory/strings/theory_strings_rewriter.cpp +++ b/src/theory/strings/theory_strings_rewriter.cpp @@ -387,7 +387,7 @@ Node TheoryStringsRewriter::rewriteEqualityExt(Node node) unsigned hchar = 0; String lhss = node[i].getConst<String>(); std::vector<unsigned> vec = lhss.getVec(); - if (vec.size() > 1) + if (vec.size() >= 1) { hchar = vec[0]; for (unsigned j = 1, size = vec.size(); j < size; j++) |