diff --git a/paddle/math/MathFunctions.h b/paddle/math/MathFunctions.h index a941c548d43b12c87b3d53ec77d1819f17747744..8ada0d34c6733d13a45505492909124010c85a91 100644 --- a/paddle/math/MathFunctions.h +++ b/paddle/math/MathFunctions.h @@ -34,15 +34,15 @@ extern "C" { #ifndef LAPACK_FOUND extern "C" { -#include -int LAPACKE_sgetrf(int matrix_layout, int m, int n, - float* a, int lda, int* ipiv); -int LAPACKE_dgetrf(int matrix_layout, int m, int n, - double* a, int lda, int* ipiv); -int LAPACKE_sgetri(int matrix_layout, int n, float* a, - int lda, const int* ipiv); -int LAPACKE_dgetri(int matrix_layout, int n, double* a, - int lda, const int* ipiv); +#include +int LAPACKE_sgetrf( + int matrix_layout, int m, int n, float* a, int lda, int* ipiv); +int LAPACKE_dgetrf( + int matrix_layout, int m, int n, double* a, int lda, int* ipiv); +int LAPACKE_sgetri( + int matrix_layout, int n, float* a, int lda, const int* ipiv); +int LAPACKE_dgetri( + int matrix_layout, int n, double* a, int lda, const int* ipiv); } #endif