Skip to content

Commit 1baedf6

Browse files
committed
MNT: simplify process start up syntax.
1 parent 9f7325c commit 1baedf6

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

rocketpy/simulation/monte_carlo.py

-3
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,6 @@ def __run_in_parallel(self, n_workers=None):
316316
target=self.__sim_consumer,
317317
args=(export_queue, mutex, consumer_stop_event, simulation_error_event),
318318
)
319-
320319
sim_consumer.start()
321320

322321
for seed in seeds:
@@ -331,8 +330,6 @@ def __run_in_parallel(self, n_workers=None):
331330
),
332331
)
333332
processes.append(sim_producer)
334-
335-
for sim_producer in processes:
336333
sim_producer.start()
337334

338335
try:

0 commit comments

Comments
 (0)