Skip to content

Commit

Permalink
Run pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Oct 20, 2022
1 parent 1f90837 commit 4848422
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pymc/parallel_sampling.py
Original file line number Diff line number Diff line change
Expand Up @@ -408,9 +408,9 @@ def __init__(
# Closes issue https://github.com/pymc-devs/pymc/issues/3849
# Related issue https://github.com/pymc-devs/pymc/issues/5339
if platform.system() == "Darwin":
if platform.processor() == 'arm':
mp_ctx = 'fork'
else:
if platform.processor() == "arm":
mp_ctx = "fork"
else:
mp_ctx = "forkserver"

mp_ctx = multiprocessing.get_context(mp_ctx)
Expand Down

0 comments on commit 4848422

Please sign in to comment.