Commit ad593f04 authored by Martin Reinecke's avatar Martin Reinecke
Browse files

doc fix

parent c91ee857
...@@ -13,8 +13,8 @@ if _use_fftw: ...@@ -13,8 +13,8 @@ if _use_fftw:
pyfftw.interfaces.cache.enable() pyfftw.interfaces.cache.enable()
pyfftw.interfaces.cache.set_keepalive_time(1000.) pyfftw.interfaces.cache.set_keepalive_time(1000.)
# Optional extra arguments for the FFT calls # Optional extra arguments for the FFT calls
# _fft_extra_args = {} # if exact reproducibility is needed,
# if exact reproducibility is needed, use this: # set "planner_effort" to "FFTW_ESTIMATE"
import os import os
nthreads = int(os.getenv("OMP_NUM_THREADS", "1")) nthreads = int(os.getenv("OMP_NUM_THREADS", "1"))
_fft_extra_args = dict(planner_effort='FFTW_ESTIMATE', threads=nthreads) _fft_extra_args = dict(planner_effort='FFTW_ESTIMATE', threads=nthreads)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment