From c38d43153b424c2c78890671dfc57e2c9491463c Mon Sep 17 00:00:00 2001 From: Awni Hannun Date: Mon, 15 Jan 2024 20:00:14 -0800 Subject: [PATCH] fix tests for linux --- tests/ops_tests.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/ops_tests.cpp b/tests/ops_tests.cpp index c17e25572..d7f689e1e 100644 --- a/tests/ops_tests.cpp +++ b/tests/ops_tests.cpp @@ -511,6 +511,7 @@ TEST_CASE("test is inf") { CHECK_FALSE(isinf(x).item()); auto inf = std::numeric_limits::infinity(); + array y(inf); CHECK(isinf(y).item());