mirror of
https://github.com/Z3Prover/z3
synced 2025-04-22 16:45:31 +00:00
fix constant eqc bug in mk_concat
This commit is contained in:
parent
d648f95f63
commit
8d5065d35d
1 changed files with 6 additions and 0 deletions
|
@ -709,6 +709,12 @@ namespace smt {
|
|||
bool n2HasEqcValue = false;
|
||||
expr * v1 = get_eqc_value(n1, n1HasEqcValue);
|
||||
expr * v2 = get_eqc_value(n2, n2HasEqcValue);
|
||||
if (u.str.is_string(v1)) {
|
||||
n1HasEqcValue = true;
|
||||
}
|
||||
if (u.str.is_string(v2)) {
|
||||
n2HasEqcValue = true;
|
||||
}
|
||||
if (n1HasEqcValue && n2HasEqcValue) {
|
||||
zstring n1_str;
|
||||
u.str.is_string(v1, n1_str);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue