mirror of
https://github.com/Z3Prover/z3
synced 2025-04-14 12:58:44 +00:00
substitute into non-ground regexes
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
bac4726531
commit
b0da5409c1
|
@ -275,6 +275,9 @@ namespace smt {
|
|||
#endif
|
||||
}
|
||||
}
|
||||
if (!is_ground(d)) {
|
||||
d = subst(d, sub);
|
||||
}
|
||||
// at this point there should be no free variables as the ites are at top-level.
|
||||
if (!re().is_empty(d))
|
||||
conds.push_back(th.mk_literal(sk().mk_accept(s, a().mk_int(idx + 1), d)));
|
||||
|
|
Loading…
Reference in a new issue