summaryrefslogtreecommitdiff
path: root/src/theory
diff options
context:
space:
mode:
authorMorgan Deters <mdeters@cs.nyu.edu>2013-02-12 23:04:53 -0500
committerMorgan Deters <mdeters@cs.nyu.edu>2013-02-12 23:04:53 -0500
commite9d8ae34db4c4a8161cc1abdfb225c3e9e2bd9ee (patch)
treebf60d8f3f27f3c08bf47b01ab72895794d819e4f /src/theory
parent3162008b628174bd8bce70b336ce928e88ae07c6 (diff)
Fix a preprocessing performance issue.
Diffstat (limited to 'src/theory')
-rw-r--r--src/theory/theory_engine.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/theory/theory_engine.cpp b/src/theory/theory_engine.cpp
index efbc42ebf..f85a5f3cd 100644
--- a/src/theory/theory_engine.cpp
+++ b/src/theory/theory_engine.cpp
@@ -728,16 +728,6 @@ theory::Theory::PPAssertStatus TheoryEngine::solve(TNode literal, SubstitutionMa
Theory::PPAssertStatus solveStatus = theoryOf(atom)->ppAssert(literal, substitutionOut);
Trace("theory::solve") << "TheoryEngine::solve(" << literal << ") => " << solveStatus << endl;
- //must add substitutions to model
- theory::TheoryModel* m = getModel();
- if( m ){
- for( SubstitutionMap::iterator pos = substitutionOut.begin(); pos != substitutionOut.end(); ++pos) {
- Node n = (*pos).first;
- Node v = (*pos).second;
- Trace("model") << "Add substitution : " << n << " " << v << std::endl;
- m->addSubstitution( n, v );
- }
- }
return solveStatus;
}
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback