mirror of
https://github.com/Z3Prover/z3
synced 2025-04-24 01:25:31 +00:00
improve comments for scoped_weakness
This commit is contained in:
parent
890bc0f7c9
commit
321cad70d6
1 changed files with 2 additions and 0 deletions
|
@ -144,9 +144,11 @@ public:
|
|||
public:
|
||||
scoped_weakness(prop_solver &ps, unsigned solver_id, unsigned weakness) :
|
||||
m_params(*ps.m_fparams[solver_id == 0 ? 0 : 0 /*1*/]) {
|
||||
// save current values
|
||||
m_arith_ignore_int = m_params.m_arith_ignore_int;
|
||||
m_array_weak = m_params.m_array_weak;
|
||||
|
||||
// set values based on weakness score
|
||||
m_params.m_arith_ignore_int = weakness < 1;
|
||||
m_params.m_array_weak = weakness < 2;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue