Skip to content

Commit

Permalink
Remove conditions after initing starting_prg
Browse files Browse the repository at this point in the history
  • Loading branch information
WeetHet committed Oct 9, 2024
1 parent 149fdf6 commit 632f252
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion verified_cogen/runners/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,9 +128,10 @@ def run_on_file(
self.logger.info(f"Running on {file}")

with open(file, "r") as f:
prg = self.preprocess(f.read(), mode)
prg = f.read()

self.starting_prg = prg
prg = self.preprocess(prg, mode)

verification_result = self.verify_program(name, 0, self.postprocess(prg))
if verification_result is not None and verification_result[0]:
Expand Down

0 comments on commit 632f252

Please sign in to comment.