From da542d635433876272c742ce46c0b48f2c92f16b Mon Sep 17 00:00:00 2001 From: Christophe Date: Tue, 24 Nov 2020 12:12:33 +0100 Subject: [PATCH] fix reciprocal test --- test/ext/ext_scalar_reciprocal.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/ext/ext_scalar_reciprocal.cpp b/test/ext/ext_scalar_reciprocal.cpp index 132df808..a8042dd7 100644 --- a/test/ext/ext_scalar_reciprocal.cpp +++ b/test/ext/ext_scalar_reciprocal.cpp @@ -118,8 +118,8 @@ static int test_acsch() { int Error = 0; - Error += glm::acsch(0.0001) > 10000.0, 0.01 ? 0 : 1; - Error += glm::acsch(-0.0001) < -10000.0, 0.01 ? 0 : 1; + Error += glm::acsch(0.0001) > 10000.0 ? 0 : 1; + Error += glm::acsch(-0.0001) < -10000.0 ? 0 : 1; Error += glm::equal(glm::acsch(100.0), 0.0, 0.01) ? 0 : 1; Error += glm::equal(glm::acsch(-100.0), 0.0, 0.01) ? 0 : 1;