Skip to content

Commit 21169be

Browse files
authored
[src] Fix compilation issue with OpenBLAS versions >0.3.7 (kaldi-asr#4015)
Fixes errors such as 'complex:1831:3: error: template with C linkage'
1 parent b1d8093 commit 21169be

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/matrix/kaldi-blas.h

+1
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@
9393
#include <mkl.h>
9494
}
9595
#elif defined(HAVE_OPENBLAS)
96+
#include <complex>
9697
// getting cblas.h and lapacke.h from <openblas-install-dir>/.
9798
// putting in "" not <> to search -I before system libraries.
9899
#include "cblas.h"

0 commit comments

Comments
 (0)