mirror of
https://github.com/Z3Prover/z3
synced 2026-02-22 00:07:36 +00:00
fix re-entrancy bug between ddfw and theory solvers.
Flips triggered from external sources should not trigger callbacks.
This commit is contained in:
parent
071c9abd69
commit
72c7a9cf6a
4 changed files with 19 additions and 12 deletions
|
|
@ -238,6 +238,7 @@ namespace sls {
|
|||
m_last_delta = delta;
|
||||
if (!a.can_update_num(v, delta))
|
||||
return;
|
||||
ctx.rlimit().inc();
|
||||
auto score = get_score(v, delta);
|
||||
auto& vi = a.m_vars[v];
|
||||
num_t abs_value = abs(vi.value() + delta);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue