Bugfix in fft, set Blas vendor to openblas
This commit is contained in:
parent
a1bcae508b
commit
9694173a65
@ -37,6 +37,8 @@ else()
|
||||
endif()
|
||||
|
||||
if(LASP_USE_BLAS)
|
||||
# link openblas
|
||||
set(BLA_VENDOR OpenBLAS)
|
||||
find_package(BLAS REQUIRED)
|
||||
endif()
|
||||
|
||||
|
@ -215,7 +215,7 @@ void Fft_fft_single(const Fft* fft,const vd* timedata,vc* result) {
|
||||
|
||||
/* For an even fft, the imaginary part of the Nyquist frequency
|
||||
* bin equals zero.*/
|
||||
if(likely(nfft%2 == 0)) {
|
||||
if(islikely(nfft%2 == 0)) {
|
||||
result_ptr[nfft+1] = 0;
|
||||
}
|
||||
check_overflow_vx(fft->fft_work);
|
||||
|
Loading…
Reference in New Issue
Block a user