Skip to content

Commit c4ceefa

Browse files
committed
fix test_matrixCompare
1 parent 3aa01ea commit c4ceefa

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

paddle/math/tests/test_matrixCompare.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,8 +235,10 @@ TEST(Matrix, unary) {
235235
testMatrixTranspose(height, width);
236236
testMatrixRotate(height, width);
237237
}
238-
// inverse
238+
// inverse
239+
#ifdef PADDLE_USE_LAPACK
239240
testMatrixInverse(height);
241+
#endif
240242
}
241243
}
242244

0 commit comments

Comments
 (0)