Skip to content

Commit

Permalink
fix last patch stage being skipped
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilippvK committed Mar 1, 2024
1 parent 380ca20 commit 47a441f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion seal5/flow.py
Original file line number Diff line number Diff line change
Expand Up @@ -1577,7 +1577,7 @@ def apply_patch(self, patch: PatchSettings, force: bool = False):
def patch(self, verbose: bool = False, stages: List[PatchStage] = None, force: bool = False):
logger.info("Applying Seal5 patches")
if stages is None:
stages = list(map(PatchStage, range(PatchStage.PHASE_4)))
stages = list(map(PatchStage, range(PatchStage.PHASE_5 + 1)))
assert len(stages) > 0
patches_per_stage = self.collect_patches()
for stage in stages:
Expand Down
1 change: 1 addition & 0 deletions seal5/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,4 @@ class PatchStage(IntEnum):
PHASE_2 = 2
PHASE_3 = 3
PHASE_4 = 4
PHASE_5 = 5

0 comments on commit 47a441f

Please sign in to comment.