Skip to content

Commit

Permalink
not using numba
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenhky committed Jun 21, 2021
1 parent b764f87 commit b338f2c
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions mogu/spectral/fft.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@

import numpy as np
import numba as nb


@nb.njit(nb.complex64[:](nb.complex64[:]))
def FFT(f):
nbdata = f.shape[0]
assert np.log(nbdata) / np.log(2) % 1 == 0.0
Expand All @@ -23,7 +21,6 @@ def FFT(f):
return g


@nb.njit(nb.complex64[:](nb.complex64[:]))
def invFFTrecursive(f):
nbdata = f.shape[0]
assert np.log(nbdata) / np.log(2) % 1 == 0.0
Expand Down

0 comments on commit b338f2c

Please sign in to comment.