diff options
author | Morgan Deters <mdeters@gmail.com> | 2012-11-09 21:25:07 +0000 |
---|---|---|
committer | Morgan Deters <mdeters@gmail.com> | 2012-11-09 21:25:07 +0000 |
commit | b7733c47c0f32c0ad112e59e999ed2490ba6f602 (patch) | |
tree | ab79b1b5c839c505c806e5e89f85655713f929b5 /src/theory/model.h | |
parent | 4456e91e726afa15fbc1bd03a3d945ff5377b474 (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/model.h')
-rw-r--r-- | src/theory/model.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/theory/model.h b/src/theory/model.h index 229d1f25e..5b691d4d9 100644 --- a/src/theory/model.h +++ b/src/theory/model.h @@ -47,6 +47,8 @@ public: /** true/false nodes */ Node d_true; Node d_false; + context::CDO<bool> d_modelBuilt; + protected: /** reset the model */ virtual void reset(); |