mirror of
https://github.com/Z3Prover/z3
synced 2025-07-28 23:17:56 +00:00
raise an exception if trying proof generation for the SAT solver. Stackoverflow question https://stackoverflow.com/questions/45885321/check-function-while-qf-fd-logic-is-set-throws-accessviolationexception
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
623cd5ded2
commit
5db349f6fa
2 changed files with 5 additions and 2 deletions
|
@ -388,6 +388,9 @@ private:
|
|||
m_subgoals.reset();
|
||||
init_preprocess();
|
||||
SASSERT(g->models_enabled());
|
||||
if (g->proofs_enabled()) {
|
||||
throw default_exception("generation of proof objects is not supported in this mode");
|
||||
}
|
||||
SASSERT(!g->proofs_enabled());
|
||||
TRACE("sat", g->display(tout););
|
||||
try {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue