diff options
Diffstat (limited to 'src/theory/sep')
-rw-r--r-- | src/theory/sep/theory_sep.cpp | 6 | ||||
-rw-r--r-- | src/theory/sep/theory_sep.h | 11 |
2 files changed, 8 insertions, 9 deletions
diff --git a/src/theory/sep/theory_sep.cpp b/src/theory/sep/theory_sep.cpp index 71cde2841..0107b80c8 100644 --- a/src/theory/sep/theory_sep.cpp +++ b/src/theory/sep/theory_sep.cpp @@ -200,15 +200,15 @@ void TheorySep::computeCareGraph() { // MODEL GENERATION ///////////////////////////////////////////////////////////////////////////// - -void TheorySep::collectModelInfo( TheoryModel* m ){ +bool TheorySep::collectModelInfo(TheoryModel* m) +{ set<Node> termSet; // Compute terms appearing in assertions and shared terms computeRelevantTerms(termSet); // Send the equality engine information to the model - m->assertEqualityEngine( &d_equalityEngine, &termSet ); + return m->assertEqualityEngine(&d_equalityEngine, &termSet); } void TheorySep::postProcessModel( TheoryModel* m ){ diff --git a/src/theory/sep/theory_sep.h b/src/theory/sep/theory_sep.h index 591a495d0..65f076631 100644 --- a/src/theory/sep/theory_sep.h +++ b/src/theory/sep/theory_sep.h @@ -109,13 +109,12 @@ class TheorySep : public Theory { ///////////////////////////////////////////////////////////////////////////// public: + bool collectModelInfo(TheoryModel* m) override; + void postProcessModel(TheoryModel* m); - void collectModelInfo(TheoryModel* m); - void postProcessModel(TheoryModel* m); - - ///////////////////////////////////////////////////////////////////////////// - // NOTIFICATIONS - ///////////////////////////////////////////////////////////////////////////// + ///////////////////////////////////////////////////////////////////////////// + // NOTIFICATIONS + ///////////////////////////////////////////////////////////////////////////// private: public: |