mirror of
https://github.com/Z3Prover/z3
synced 2025-07-18 02:16:40 +00:00
Datalog improvements:
- add cancel status - display statistics on cancel (by me & Nikolaj) Signed-off-by: Nuno Lopes <t-nclaud@microsoft.com>
This commit is contained in:
parent
25a41d48dc
commit
1cece1c1fb
10 changed files with 142 additions and 77 deletions
|
@ -213,7 +213,7 @@ namespace datalog {
|
|||
rule_set* rules = alloc(rule_set, m_ctx);
|
||||
rule_set::iterator it = source.begin(), end = source.end();
|
||||
bool change = false;
|
||||
for (; it != end; ++it) {
|
||||
for (; !m_ctx.canceled() && it != end; ++it) {
|
||||
change = blast(**it, *rules) || change;
|
||||
}
|
||||
if (!change) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue