Skip to content

Commit

Permalink
Enable fastmath
Browse files Browse the repository at this point in the history
  • Loading branch information
jurihock committed Jan 28, 2023
1 parent 8c6147c commit ac3b439
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/python/qdft/qdft.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ def iqdft(self, dfts):

return QDFT.synthesize(dfts, samples, twiddles)

@numba.njit()
@numba.jit(nopython=True, fastmath=True)
def analyze(dfts, inputs, outputs, periods, offsets, weights, fiddles, twiddles, window):

if not dfts.size:
Expand Down Expand Up @@ -199,7 +199,7 @@ def analyze(dfts, inputs, outputs, periods, offsets, weights, fiddles, twiddles,

return dfts[..., 0]

@numba.njit()
@numba.jit(nopython=True, fastmath=True)
def synthesize(dfts, samples, twiddles):

if not dfts.size:
Expand Down

0 comments on commit ac3b439

Please sign in to comment.