3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-05-02 05:15:52 +00:00

Test and fix PDD subst_val (#5185)

This commit is contained in:
Jakob Rath 2021-04-15 17:35:46 +02:00 committed by GitHub
parent bb7754a767
commit 7067fc16ae
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 51 additions and 1 deletions

View file

@ -240,7 +240,7 @@ namespace dd {
break;
case pdd_subst_val_op:
while (!is_val(q) && !is_val(p)) {
if (level(p) < level(q)) q = lo(q);
if (level(p) < level(q)) q = hi(q);
else break;
}
if (is_val(p) || is_val(q)) return p;