Skip to content

Commit

Permalink
fix reciprocal test
Browse files Browse the repository at this point in the history
  • Loading branch information
christophe-lunarg committed Nov 24, 2020
1 parent da542d6 commit c31b5ae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/ext/ext_vector_reciprocal.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit c31b5ae

Please sign in to comment.