From c4ceefa0bc011cb4bb939bd0bdb3db8167257c04 Mon Sep 17 00:00:00 2001 From: hedaoyuan Date: Thu, 20 Apr 2017 14:34:09 +0800 Subject: [PATCH] fix test_matrixCompare --- paddle/math/tests/test_matrixCompare.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/paddle/math/tests/test_matrixCompare.cpp b/paddle/math/tests/test_matrixCompare.cpp index dd19fe516fb..5210fe3fa1f 100644 --- a/paddle/math/tests/test_matrixCompare.cpp +++ b/paddle/math/tests/test_matrixCompare.cpp @@ -235,8 +235,10 @@ TEST(Matrix, unary) { testMatrixTranspose(height, width); testMatrixRotate(height, width); } - // inverse +// inverse +#ifdef PADDLE_USE_LAPACK testMatrixInverse(height); +#endif } } -- GitLab