diff options
author | ajreynol <andrew.j.reynolds@gmail.com> | 2017-03-03 16:17:24 -0600 |
---|---|---|
committer | ajreynol <andrew.j.reynolds@gmail.com> | 2017-03-03 16:17:24 -0600 |
commit | f81c51ca8af1c38126336f0c31a33fba72614dc1 (patch) | |
tree | 33cab3539b7ecc7b81dcb6890fd612e15d528e70 /src/theory/strings/theory_strings.cpp | |
parent | 72986ccf378dcdbede11d93c70601fdcc5b438ed (diff) |
Fix for collectModelInfo related to finite types + preregistration. Generalize previous fix for sets, minor changes to Datatypes.
Diffstat (limited to 'src/theory/strings/theory_strings.cpp')
-rw-r--r-- | src/theory/strings/theory_strings.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/theory/strings/theory_strings.cpp b/src/theory/strings/theory_strings.cpp index 09cc3cb3b..45a6a93d1 100644 --- a/src/theory/strings/theory_strings.cpp +++ b/src/theory/strings/theory_strings.cpp @@ -442,7 +442,16 @@ void TheoryStrings::presolve() { void TheoryStrings::collectModelInfo( TheoryModel* m, bool fullModel ) { Trace("strings-model") << "TheoryStrings : Collect model info, fullModel = " << fullModel << std::endl; Trace("strings-model") << "TheoryStrings : assertEqualityEngine." << std::endl; + + //AJR : no use doing this since we cannot preregister terms with finite types that don't belong to strings. + // change this if we generalize to sequences. + //set<Node> termSet; + // Compute terms appearing in assertions and shared terms + //computeRelevantTerms(termSet); + //m->assertEqualityEngine( &d_equalityEngine, &termSet ); + m->assertEqualityEngine( &d_equalityEngine ); + // Generate model std::vector< Node > nodes; getEquivalenceClasses( nodes ); |