Skip to content

Commit

Permalink
Fixed bug in is_leaf`
Browse files Browse the repository at this point in the history
  • Loading branch information
ericsson49 committed Apr 25, 2024
1 parent a658509 commit 71f2683
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ constraint forall(b in BLOCK)(es[b] <= curr_e);
constraint forall(b in BLOCK)(get_vse(b) <= store_je);
constraint exists(b in BLOCK)(get_vse(b) == store_je);

predicate is_leaf(var BLOCK: b) = not exists(child in BLOCK where child < max_block)(parents[child] == b);
predicate is_leaf(var BLOCK: b) = not exists(child in BLOCK where child > b /\ child <= max_block)(parents[child] == b);

var BLOCK: target_block;
var BLOCK: max_block;
Expand Down

0 comments on commit 71f2683

Please sign in to comment.