Skip to content
Snippets Groups Projects
Commit 34aab94d authored by Fengshan Zheng's avatar Fengshan Zheng
Browse files

small chaneges

parent 529f2bde
No related branches found
No related tags found
No related merge requests found
......@@ -87,7 +87,6 @@ class Kernel(object):
self.geometry = geometry
# Set up FFT:
if fft.HAVE_FFTW:
self.dim_pad = tuple(2 * np.array(dim_uv)) # is at least even (not nec. power of 2)
else:
self.dim_pad = tuple(2 ** np.ceil(np.log2(2 * np.array(dim_uv))).astype(int)) # pow(2)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment