From 496c5489a5073ef1aa9306e165ac4dc4aaeb69a9 Mon Sep 17 00:00:00 2001 From: Tianyi Liang Date: Wed, 23 Oct 2013 13:52:24 -0500 Subject: [PATCH] add back eager approach --- src/theory/strings/theory_strings.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/theory/strings/theory_strings.cpp b/src/theory/strings/theory_strings.cpp index 7c3e7ebbc..a50c295da 100644 --- a/src/theory/strings/theory_strings.cpp +++ b/src/theory/strings/theory_strings.cpp @@ -1451,7 +1451,7 @@ bool TheoryStrings::checkLengths() { //if n is concat, and //if n has not instantiatied the concat..length axiom //then, add lemma - if( n.getKind() == kind::CONST_STRING ) { // || n.getKind() == kind::STRING_CONCAT ){ + if( n.getKind() == kind::CONST_STRING || n.getKind() == kind::STRING_CONCAT ) { // || n.getKind() == kind::STRING_CONCAT ){ if( d_length_inst.find(n)==d_length_inst.end() ){ d_length_inst[n] = true; Trace("strings-debug") << "get n: " << n << endl; -- 2.30.2