浏览代码

Fixed test

Christophe Riccio 9 年之前
父节点
当前提交
be8d6c9ccc
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      test/core/core_type_vec4.cpp

+ 1 - 1
test/core/core_type_vec4.cpp

@@ -494,7 +494,7 @@ int test_vec4_simd()
 	glm::tvec4<float, glm::simd> c(b * a);
 	glm::tvec4<float, glm::simd> d(a + c);
 
-	Error += glm::all(glm::greaterThan(d, glm::tvec4<float, glm::simd>(0))) ? 0 : 1;
+	Error += glm::all(glm::greaterThanEqual(d, glm::tvec4<float, glm::simd>(0))) ? 0 : 1;
 
 	return Error;
 }