diff options
author | Andrew Reynolds <andrew.j.reynolds@gmail.com> | 2018-04-04 11:56:59 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-04 11:56:59 -0500 |
commit | 541b880047374f3748fbf9fa93214bae1308b1aa (patch) | |
tree | 779295d08037f3f80fdad9938c0fbee1defc62c5 /src/theory/theory_engine.cpp | |
parent | 5a2566ae30157dc31a2bc5c293f1589da0f54d12 (diff) |
Do not debug check models when unknown (#1748)
Diffstat (limited to 'src/theory/theory_engine.cpp')
-rw-r--r-- | src/theory/theory_engine.cpp | 7 |
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); |