From 56bc4974fbb90263a3f0cf609f166b9458188822 Mon Sep 17 00:00:00 2001 From: Gustavo Lima Chaves Date: Thu, 23 May 2019 14:50:29 -0700 Subject: [PATCH] GEMV: remove double declaration of constant. That was hurting users with compilers that would object to proceed with that: """ ./Eigen/src/Core/products/GeneralMatrixVector.h:356:10: error: declaration shadows a static data member of 'general_matrix_vector_product' [-Werror,-Wshadow] LhsPacketSize = Traits::LhsPacketSize, ^ ./Eigen/src/Core/products/GeneralMatrixVector.h:307:22: note: previous declaration is here static const Index LhsPacketSize = Traits::LhsPacketSize; """ --- Eigen/src/Core/products/GeneralMatrixVector.h | 1 - 1 file changed, 1 deletion(-) diff --git a/Eigen/src/Core/products/GeneralMatrixVector.h b/Eigen/src/Core/products/GeneralMatrixVector.h index eb1d924e5..dfb6aebce 100644 --- a/Eigen/src/Core/products/GeneralMatrixVector.h +++ b/Eigen/src/Core/products/GeneralMatrixVector.h @@ -304,7 +304,6 @@ struct general_matrix_vector_product::ReturnType ResScalar; typedef typename Traits::LhsPacket LhsPacket; - static const Index LhsPacketSize = Traits::LhsPacketSize; typedef typename Traits::RhsPacket RhsPacket; typedef typename Traits::ResPacket ResPacket;