summaryrefslogtreecommitdiff
path: root/src/theory/theory_engine.h
diff options
context:
space:
mode:
authorMorgan Deters <mdeters@gmail.com>2012-11-09 21:25:07 +0000
committerMorgan Deters <mdeters@gmail.com>2012-11-09 21:25:07 +0000
commitb7733c47c0f32c0ad112e59e999ed2490ba6f602 (patch)
treeab79b1b5c839c505c806e5e89f85655713f929b5 /src/theory/theory_engine.h
parent4456e91e726afa15fbc1bd03a3d945ff5377b474 (diff)
TheoryEngineModelBuilder::buildModel() is only called once with fullModel=true, within a SAT context. This fixes some outstanding model bugs.
Committing also a Clark-provided assertion the Model code to ensure the call is only done once per context. (this commit was certified error- and warning-free by the test-and-commit script.)
Diffstat (limited to 'src/theory/theory_engine.h')
-rw-r--r--src/theory/theory_engine.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/theory/theory_engine.h b/src/theory/theory_engine.h
index 8331ef61d..c65fb7ed7 100644
--- a/src/theory/theory_engine.h
+++ b/src/theory/theory_engine.h
@@ -232,7 +232,7 @@ class TheoryEngine {
void safePoint() throw(theory::Interrupted, AssertionException) {
if (d_engine->d_interrupted)
- throw theory::Interrupted();
+ throw theory::Interrupted();
}
void conflict(TNode conflictNode) throw(AssertionException) {
@@ -394,8 +394,8 @@ class TheoryEngine {
Node d_false;
/** Whether we were just interrupted (or not) */
- bool d_interrupted;
-
+ bool d_interrupted;
+
public:
/** Constructs a theory engine */
@@ -404,8 +404,8 @@ public:
/** Destroys a theory engine */
~TheoryEngine();
- void interrupt() throw(ModalException);
-
+ void interrupt() throw(ModalException);
+
/**
* Adds a theory. Only one theory per TheoryId can be present, so if
* there is another theory it will be deleted.
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback