mirror of
https://github.com/Z3Prover/z3
synced 2025-04-20 23:56:37 +00:00
Different heuristic
This commit is contained in:
parent
791ad83e4e
commit
4887372bcd
|
@ -687,7 +687,7 @@ namespace sls {
|
|||
else if (m_str_update_strategy == EDIT_SUBSTR)
|
||||
add_substr_edit_updates(w, val, val_other, chars);
|
||||
else {
|
||||
if (diff < 3)
|
||||
if (val.length() / 3 >= diff - 1)
|
||||
add_char_edit_updates(w, val, val_other, chars);
|
||||
else
|
||||
add_substr_edit_updates(w, val, val_other, chars);
|
||||
|
|
Loading…
Reference in a new issue