From 2d4fee0b40b78e6e91950cc35dd981a9f8f176c1 Mon Sep 17 00:00:00 2001 From: Keir Mierle Date: Thu, 5 Jan 2012 23:15:09 -0800 Subject: [PATCH] Fix out-of-range int constant in 4x4 inverse. (transplanted from 45bcad41b444a44d28558472ff27d5cd1207d41c ) --- Eigen/src/LU/arch/Inverse_SSE.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Eigen/src/LU/arch/Inverse_SSE.h b/Eigen/src/LU/arch/Inverse_SSE.h index 176c349ce..4c6153f0a 100644 --- a/Eigen/src/LU/arch/Inverse_SSE.h +++ b/Eigen/src/LU/arch/Inverse_SSE.h @@ -55,7 +55,7 @@ struct compute_inverse_size4 static void run(const MatrixType& matrix, ResultType& result) { - EIGEN_ALIGN16 const int _Sign_PNNP[4] = { 0x00000000, 0x80000000, 0x80000000, 0x00000000 }; + EIGEN_ALIGN16 const unsigned int _Sign_PNNP[4] = { 0x00000000, 0x80000000, 0x80000000, 0x00000000 }; // Load the full matrix into registers __m128 _L1 = matrix.template packet( 0);