mirror of
https://github.com/Z3Prover/z3
synced 2025-04-12 12:08:18 +00:00
another stab at #989
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
07bc19b489
commit
086ea7867e
|
@ -322,7 +322,7 @@ def mk_py_wrappers():
|
||||||
display_args(num)
|
display_args(num)
|
||||||
core_py.write("):\n")
|
core_py.write("):\n")
|
||||||
core_py.write(" _lib = lib()\n")
|
core_py.write(" _lib = lib()\n")
|
||||||
core_py.write(" if _lib.%s is None:\n" % name)
|
core_py.write(" if _lib is None or _lib.%s is None:\n" % name)
|
||||||
core_py.write(" return\n")
|
core_py.write(" return\n")
|
||||||
if result != VOID:
|
if result != VOID:
|
||||||
core_py.write(" r = _lib.%s(" % name)
|
core_py.write(" r = _lib.%s(" % name)
|
||||||
|
|
|
@ -3290,11 +3290,11 @@ namespace smt {
|
||||||
|
|
||||||
internalize_assertions();
|
internalize_assertions();
|
||||||
lbool r = l_undef;
|
lbool r = l_undef;
|
||||||
|
TRACE("before_search", display(tout););
|
||||||
if (m_asserted_formulas.inconsistent()) {
|
if (m_asserted_formulas.inconsistent()) {
|
||||||
r = l_false;
|
r = l_false;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
TRACE("after_internalization", display(tout););
|
|
||||||
if (inconsistent()) {
|
if (inconsistent()) {
|
||||||
VERIFY(!resolve_conflict()); // build the proof
|
VERIFY(!resolve_conflict()); // build the proof
|
||||||
r = l_false;
|
r = l_false;
|
||||||
|
|
Loading…
Reference in a new issue