summaryrefslogtreecommitdiff
path: root/src/theory/theory_engine.cpp
diff options
context:
space:
mode:
authorAndrew Reynolds <andrew.j.reynolds@gmail.com>2018-04-04 11:56:59 -0500
committerGitHub <noreply@github.com>2018-04-04 11:56:59 -0500
commit541b880047374f3748fbf9fa93214bae1308b1aa (patch)
tree779295d08037f3f80fdad9938c0fbee1defc62c5 /src/theory/theory_engine.cpp
parent5a2566ae30157dc31a2bc5c293f1589da0f54d12 (diff)
Do not debug check models when unknown (#1748)
Diffstat (limited to 'src/theory/theory_engine.cpp')
-rw-r--r--src/theory/theory_engine.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/theory/theory_engine.cpp b/src/theory/theory_engine.cpp
index 375027d34..f3489f5ad 100644
--- a/src/theory/theory_engine.cpp
+++ b/src/theory/theory_engine.cpp
@@ -639,7 +639,12 @@ void TheoryEngine::check(Theory::Effort effort) {
AlwaysAssert(d_curr_model->isBuiltSuccess());
if (options::produceModels())
{
- d_curr_model_builder->debugCheckModel(d_curr_model);
+ // if we are incomplete, there is no guarantee on the model.
+ // thus, we do not check the model here. (related to #1693)
+ if (!d_incomplete)
+ {
+ d_curr_model_builder->debugCheckModel(d_curr_model);
+ }
// Do post-processing of model from the theories (used for THEORY_SEP
// to construct heap model)
postProcessModel(d_curr_model);
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback