From c31b5aecaa37ee3bb7a24911ce77e7d5425edb5f Mon Sep 17 00:00:00 2001 From: Christophe Date: Tue, 24 Nov 2020 12:19:30 +0100 Subject: [PATCH] fix reciprocal test --- test/ext/ext_vector_reciprocal.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/ext/ext_vector_reciprocal.cpp b/test/ext/ext_vector_reciprocal.cpp index 6a009fc9..2c71ddaa 100644 --- a/test/ext/ext_vector_reciprocal.cpp +++ b/test/ext/ext_vector_reciprocal.cpp @@ -130,8 +130,8 @@ static int test_acsch() { int Error = 0; - Error += glm::acsch(glm::dvec1(0.0001)).x > 10000.0, 0.01 ? 0 : 1; - Error += glm::acsch(glm::dvec1(-0.0001)).x < -10000.0, 0.01 ? 0 : 1; + Error += glm::acsch(glm::dvec1(0.0001)).x > 10000.0 ? 0 : 1; + Error += glm::acsch(glm::dvec1(-0.0001)).x < -10000.0 ? 0 : 1; Error += glm::all(glm::equal(glm::acsch(glm::dvec1(100.0)), glm::dvec1(0.0), 0.01)) ? 0 : 1; Error += glm::all(glm::equal(glm::acsch(glm::dvec1(-100.0)), glm::dvec1(0.0), 0.01)) ? 0 : 1;