mirror of
https://github.com/Z3Prover/z3
synced 2025-07-19 10:52:02 +00:00
fix issue 153: assert rem/mod axiom no matter what is status of second argument
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
882dbfc706
commit
f4d256ef30
3 changed files with 21 additions and 21 deletions
|
@ -3321,13 +3321,13 @@ namespace smt {
|
|||
CASSERT("dyn_ack", check_clauses(m_lemmas) && check_clauses(m_aux_clauses));
|
||||
}
|
||||
|
||||
if (resource_limits_exceeded()) {
|
||||
SASSERT(!inconsistent());
|
||||
if (resource_limits_exceeded() && !inconsistent()) {
|
||||
return l_undef;
|
||||
}
|
||||
|
||||
if (m_base_lvl == m_scope_lvl && m_fparams.m_simplify_clauses)
|
||||
simplify_clauses();
|
||||
|
||||
|
||||
if (!decide()) {
|
||||
final_check_status fcs = final_check();
|
||||
|
@ -3342,8 +3342,7 @@ namespace smt {
|
|||
}
|
||||
}
|
||||
|
||||
if (resource_limits_exceeded()) {
|
||||
SASSERT(!inconsistent());
|
||||
if (resource_limits_exceeded() && !inconsistent()) {
|
||||
return l_undef;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue