Skip to content

Commit

Permalink
don't set n_prcesses=1 if use_mp is False
Browse files Browse the repository at this point in the history
  • Loading branch information
JarronL committed May 18, 2020
1 parent 1ad1403 commit f8a82db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pynrc/nrc_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@
if mp.cpu_count()<3:
poppy.conf.use_multiprocessing = False
# n_processes will be considered the max number of processors we use for multiprocessing
poppy.conf.n_processes = int(0.75 * mp.cpu_count()) if poppy.conf.use_multiprocessing else 1
poppy.conf.n_processes = int(0.75 * mp.cpu_count()) #if poppy.conf.use_multiprocessing else 1

webbpsf.conf.default_output_mode = u'detector'

Expand Down

0 comments on commit f8a82db

Please sign in to comment.