3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-09-08 10:41:25 +00:00

updates to some_string_in_re per code review comments

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2025-01-11 17:47:27 -08:00
parent c572fc2e4f
commit c6f58c8bf7
4 changed files with 19 additions and 20 deletions

View file

@ -1847,7 +1847,7 @@ namespace sls {
{
zstring s1;
if (ctx.is_true(e) && rw.some_string_in_re(y, s1)) {
if (ctx.is_true(e) && l_true == rw.some_string_in_re(y, s1)) {
m_str_updates.push_back({ x, s1, 1 });
return apply_update();
}