From f57260a997fac847ed9263772e6ebeeb82c6fe27 Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Wed, 25 May 2016 11:17:53 +0200 Subject: [PATCH] Fix typo in dont_over_optimize --- test/geo_transformations.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/geo_transformations.cpp b/test/geo_transformations.cpp index dba4c0e64..cc82f6607 100644 --- a/test/geo_transformations.cpp +++ b/test/geo_transformations.cpp @@ -20,7 +20,7 @@ Matrix angleToVec(T a) // This permits to workaround a bug in clang/llvm code generation. EIGEN_DONT_INLINE -void dont_over_optimize(void* x) { *(int*)(x) = ((*(int*)(x))&0xFFFF000) | ((*(int*)(x))&0x0000FFFF); } +void dont_over_optimize(void* x) { *(int*)(x) = ((*(int*)(x))&0xFFFF0000) | ((*(int*)(x))&0x0000FFFF); } template void non_projective_only() {