Skip to content

Commit 5d29ff8

Browse files
committed
initialise variable
1 parent 30f13c2 commit 5d29ff8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

microbiorust-py/benchmarks/bench_pipeline.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ def track_energy(self, engine, context):
7373
"""
7474
is_ci = os.getenv('CI') or os.getenv('GITHUB_ACTIONS')
7575
iterations = 500 if engine == 'rust' else 50
76+
energy_kwh = None
7677
start_cpu = time.process_time()
7778
start_wall = time.perf_counter()
7879
os.environ["CODECARBON_CARBON_INTENSITY"] = "475"

0 commit comments

Comments
 (0)