From 98b36f44ca143bc892e001d8a9d7dc711ddefc8f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=91=D1=80=D0=B0=D0=BD=D0=B8=D0=BC=D0=B8=D1=80=20=D0=9A?= =?UTF-8?q?=D0=B0=D1=80=D0=B0=D1=9F=D0=B8=D1=9B?= Date: Tue, 19 Nov 2024 21:17:42 -0800 Subject: [PATCH] Fixed build. --- tests/math_test.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/math_test.cpp b/tests/math_test.cpp index 5ae0033..690b55f 100644 --- a/tests/math_test.cpp +++ b/tests/math_test.cpp @@ -306,8 +306,8 @@ TEST_CASE("rcp", "[math][libm]") { STATIC_REQUIRE(1.0f == bx::rcp(1.0f) ); STATIC_REQUIRE(2.0f == bx::rcp(0.5f) ); - STATIC_REQUIRE(bx::isInfinite(bx::rcp( 0.0f) ) ); - STATIC_REQUIRE(bx::isInfinite(bx::rcp(-0.0f) ) ); + REQUIRE(bx::isInfinite(bx::rcp( 0.0f) ) ); + REQUIRE(bx::isInfinite(bx::rcp(-0.0f) ) ); } TEST_CASE("rcpSafe", "[math][libm]")