瀏覽代碼

fix reciprocal test

Christophe 5 年之前
父節點
當前提交
c31b5aecaa
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      test/ext/ext_vector_reciprocal.cpp

+ 2 - 2
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;