3
0
Fork 0
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:
Nikolaj Bjorner 2025-01-22 10:59:52 -08:00
parent 071c9abd69
commit 72c7a9cf6a
4 changed files with 19 additions and 12 deletions

View file

@ -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);