mirror of
https://github.com/mborgerding/kissfft.git
synced 2025-06-04 01:28:23 -04:00
testkiss.py: Do not depend on tools/fft_*
Fixes test run with -DKISSFFT_TOOLS=OFF Signed-off-by: Vasyl Gello <vasek.gello@gmail.com>
This commit is contained in:
parent
7eeda21377
commit
7c9a5586a9
@ -16,9 +16,14 @@ import numpy as np
|
|||||||
po = math.pi
|
po = math.pi
|
||||||
e = math.e
|
e = math.e
|
||||||
do_real = False
|
do_real = False
|
||||||
datatype = os.environ.get('DATATYPE', 'float')
|
datatype = os.environ.get('KISSFFT_DATATYPE', 'float')
|
||||||
|
openmp = os.environ.get('KISSFFT_OPENMP', 'float')
|
||||||
|
|
||||||
|
util = './fastfilt-' + datatype
|
||||||
|
|
||||||
|
if openmp == '1' or openmp == 'ON':
|
||||||
|
util = util + '-openmp'
|
||||||
|
|
||||||
util = '../tools/fft_' + datatype
|
|
||||||
minsnr = 90
|
minsnr = 90
|
||||||
if datatype == 'double':
|
if datatype == 'double':
|
||||||
dtype = np.float64
|
dtype = np.float64
|
||||||
|
Loading…
x
Reference in New Issue
Block a user