Skip to content
Snippets Groups Projects
Commit 6f858833 authored by Hague Matthew UXAC009's avatar Hague Matthew UXAC009
Browse files

tweak(parikh_image): slightly tighten fixed optimisation

parent fbcc3817
Branches
No related tags found
No related merge requests found
......@@ -200,7 +200,8 @@ expr const ParikhImageOne::build_var_domains_formula() {
// either different to prev or ccount is 0
domains = domains && (
(prev_char < curr_char) || ccount == 0
(prev_char < curr_char)
|| (ccount == 0 && prev_char == curr_char)
);
expr some_diff = context.bool_val(false);
for (expr const &pred : predicates) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment