mirror of
https://github.com/Z3Prover/z3
synced 2025-04-23 17:15:31 +00:00
fixes to consequence generation and cancellation
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
0e9758a211
commit
c5dd441947
9 changed files with 58 additions and 56 deletions
|
@ -36,7 +36,7 @@ bool reslimit::inc() {
|
|||
|
||||
bool reslimit::inc(unsigned offset) {
|
||||
m_count += offset;
|
||||
return !m_cancel && (m_limit == 0 || m_count <= m_limit);
|
||||
return m_cancel == 0 && (m_limit == 0 || m_count <= m_limit);
|
||||
}
|
||||
|
||||
void reslimit::push(unsigned delta_limit) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue