We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 79320ed commit 0abb329Copy full SHA for 0abb329
monte-cover/src/montecover/base.py
@@ -113,7 +113,9 @@ def run_simulation(self, n_jobs=None):
113
self.logger.info(f"Starting parallel execution with n_jobs={n_jobs}")
114
with parallel_backend("loky", inner_max_num_threads=1):
115
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()
+ delayed(self._process_repetition)(i_rep)
117
+ for i_rep in range(self.repetitions)
118
+ if not self._stop_simulation()
119
)
120
121
# Process results from parallel execution
0 commit comments