Skip to content

Commit 0abb329

Browse files
committed
formatting
1 parent 79320ed commit 0abb329

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

monte-cover/src/montecover/base.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,9 @@ def run_simulation(self, n_jobs=None):
113113
self.logger.info(f"Starting parallel execution with n_jobs={n_jobs}")
114114
with parallel_backend("loky", inner_max_num_threads=1):
115115
results = Parallel(n_jobs=n_jobs, verbose=10)(
116-
delayed(self._process_repetition)(i_rep) for i_rep in range(self.repetitions) if not self._stop_simulation()
116+
delayed(self._process_repetition)(i_rep)
117+
for i_rep in range(self.repetitions)
118+
if not self._stop_simulation()
117119
)
118120

119121
# Process results from parallel execution

0 commit comments

Comments
 (0)