From e274607d7fcb021d0578e2fc95023eb7b5fab133 Mon Sep 17 00:00:00 2001 From: Benoit Jacob Date: Mon, 16 Mar 2015 10:48:27 -0400 Subject: [PATCH] fix compilation with GCC 4.8 --- Eigen/src/Core/products/LookupBlockingSizesTable.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Eigen/src/Core/products/LookupBlockingSizesTable.h b/Eigen/src/Core/products/LookupBlockingSizesTable.h index 85aeedec8..f955253f8 100644 --- a/Eigen/src/Core/products/LookupBlockingSizesTable.h +++ b/Eigen/src/Core/products/LookupBlockingSizesTable.h @@ -68,9 +68,9 @@ struct LookupBlockingSizesFromTableImpl const size_t n_index = ceil_log2(n_clamped / minsize); const size_t index = n_index + Table::NumSizes * (m_index + Table::NumSizes * k_index); const uint16_t table_entry = Table::Data()[index]; - k = min(k, 1 << ((table_entry & 0xf00) >> 8)); - m = min(m, 1 << ((table_entry & 0x0f0) >> 4)); - n = min(n, 1 << ((table_entry & 0x00f) >> 0)); + k = min(k, 1 << ((table_entry & 0xf00) >> 8)); + m = min(m, 1 << ((table_entry & 0x0f0) >> 4)); + n = min(n, 1 << ((table_entry & 0x00f) >> 0)); return true; } };