From 24e05ac678d05ca77f7e454d1ec49f78367e1bde Mon Sep 17 00:00:00 2001 From: kbinani Date: Sat, 7 Dec 2024 12:14:15 +0900 Subject: [PATCH] fix: Fix compile error on fabsf --- test/j2b2j.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/j2b2j.hpp b/test/j2b2j.hpp index 2c9688ef8..a26f1f22e 100644 --- a/test/j2b2j.hpp +++ b/test/j2b2j.hpp @@ -621,7 +621,7 @@ static void CheckRotationJ(ListTag const &e, ListTag const &a) { auto av = a.at(i)->asFloat(); REQUIRE(ev); REQUIRE(av); - float diff = std::fabsf(ev->fValue - av->fValue); + float diff = fabsf(ev->fValue - av->fValue); CHECK(diff < 0.01f); } }