Skip to content

Commit

Permalink
small syntax fix
Browse files Browse the repository at this point in the history
  • Loading branch information
veanes committed Sep 28, 2021
1 parent 4ed7ff4 commit beaa45e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/smt/seq_regex.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -636,7 +636,7 @@ namespace smt {
// s[i..] in [] <==> false, also: s[i..] in () <==> false when |s|>i
re_to_accept.find(e) = m.mk_false();
}
else if (re().is_full_seq(e) || s_is_longer_than_i && re().is_dot_plus(e))
else if (re().is_full_seq(e) || (s_is_longer_than_i && re().is_dot_plus(e)))
{
// s[i..] in .* <==> true, also: s[i..] in .+ <==> true when |s|>i
re_to_accept.find(e) = m.mk_true();
Expand Down

0 comments on commit beaa45e

Please sign in to comment.