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; }