3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-05-11 01:35:47 +00:00

read laziness parameter modulo relvancy to avoid race conditions with setting relevancy = 0

This commit is contained in:
Nikolaj Bjorner 2024-12-22 14:07:29 +01:00
parent a214dc32e8
commit fb5bbb8074
3 changed files with 11 additions and 8 deletions

View file

@ -34,6 +34,7 @@ namespace smt {
};
class theory_array : public theory_array_base {
unsigned laziness() const { return ctx.relevancy()?m_params.m_array_laziness:0; }
protected:
typedef union_find<theory_array> th_union_find;
@ -64,7 +65,7 @@ namespace smt {
void pop_scope_eh(unsigned num_scopes) override;
final_check_status final_check_eh() override;
void reset_eh() override;
void init_search_eh() override { m_final_check_idx = 0; }
void init_search_eh() override;
void set_prop_upward(theory_var v) override;
virtual void set_prop_upward(enode* n);