summaryrefslogtreecommitdiff
path: root/src/theory/strings
diff options
context:
space:
mode:
authorTianyi Liang <tianyi-liang@uiowa.edu>2014-02-18 11:22:46 -0600
committerTianyi Liang <tianyi-liang@uiowa.edu>2014-02-18 11:22:46 -0600
commit0aa0a9e616e6d8fc4db19b908b81c2c1a525dcd3 (patch)
tree7cd8114ff42bf7191321716ac4c4abffd4424735 /src/theory/strings
parent4d5387554a084e7da29a170c2851830f5fe55199 (diff)
missed files for the latter commit
Diffstat (limited to 'src/theory/strings')
-rw-r--r--src/theory/strings/theory_strings_rewriter.cpp2
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 f0467507d..660b7aafe 100644
--- a/src/theory/strings/theory_strings_rewriter.cpp
+++ b/src/theory/strings/theory_strings_rewriter.cpp
@@ -460,7 +460,7 @@ RewriteResponse TheoryStringsRewriter::postRewrite(TNode node) {
if(node[0][i].isConst()) {
CVC4::String t = node[0][i].getConst<String>();
if(!t.isNumber()) {
- retNode = NodeManager::currentNM()->mkConst(::CVC4::Rational(0));
+ retNode = NodeManager::currentNM()->mkConst(::CVC4::Rational(-1));
break;
}
}
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback