Skip to content

Commit c84a36d

Browse files
Fix dropping args when calling parallel() with a dict
1 parent 9fbc572 commit c84a36d

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

accelforge/util/parallel.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,8 @@ def parallel(
146146
[delayed(_dict_job)(k, v) for k, v in jobs.items()],
147147
pbar=pbar,
148148
return_as="generator_unordered",
149+
n_jobs=n_jobs,
150+
pbar_position=pbar_position,
149151
)
150152
}
151153
return {k: result[k] for k in jobs}

0 commit comments

Comments
 (0)