From 4141d1fd2d388c1d624746b872da16cc073443ba Mon Sep 17 00:00:00 2001 From: Rasmus Munk Larsen <4643818-rmlarsen1@users.noreply.gitlab.com> Date: Thu, 19 Feb 2026 15:56:16 -0800 Subject: [PATCH] Fix -Wtautological-overlap-compare warning in row-major GEMV dispatch libeigen/eigen!2158 Co-authored-by: Rasmus Munk Larsen --- Eigen/src/Core/products/GeneralMatrixVector.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Eigen/src/Core/products/GeneralMatrixVector.h b/Eigen/src/Core/products/GeneralMatrixVector.h index 167669245..0b4957f76 100644 --- a/Eigen/src/Core/products/GeneralMatrixVector.h +++ b/Eigen/src/Core/products/GeneralMatrixVector.h @@ -334,9 +334,10 @@ general_matrix_vector_product= MinUsefulCols_ && cols < LhsPacketSize_) { + if (HasSubPackets_ && cols >= MinUsefulCols_ && cols < LhsPacketSize_) { run_small_cols(rows, cols, alhs, rhs, res, resIncr, alpha); return; }