diff --git a/paddle/math/tests/test_matrixCompare.cpp b/paddle/math/tests/test_matrixCompare.cpp index 05adec63701d422e7499796e6385375d2b92e158..2bdcab4d8665cba9a81ddbf0081ccf81f09db8f8 100644 --- a/paddle/math/tests/test_matrixCompare.cpp +++ b/paddle/math/tests/test_matrixCompare.cpp @@ -236,16 +236,19 @@ TEST(Matrix, unary) { testMatrixTranspose(height, width); testMatrixRotate(height, width); } - #ifdef LAPACK_FOUND +#ifdef LAPACK_FOUND // inverse matrix testMatrixInverse(height); - #else +#else LOG(WARNING) << "Cannot run Matrix Inverse Unit Test.\n" << "Failed to find lapack library in current system.\n" - << "To address this issue, Please adopt one of the following approaches: \n" - << "1. Simply issue `sudo apt-get install liblapacke-dev` to avoid re-build source code. \n" - << "2. Install MKL/Openblas/ATLAS and re-build PaddlePaddle source code." - #endif + << "To address this issue, Please adopt one of the following " + "approaches: \n" + << "1. Simply issue `sudo apt-get install liblapacke-dev` to " + "avoid re-build source code. \n" + << "2. Install MKL/Openblas/ATLAS and re-build PaddlePaddle " + "source code." +#endif } }