diff --git a/Eigen/src/Core/products/CoeffBasedProduct.h b/Eigen/src/Core/products/CoeffBasedProduct.h index fb638b65c..2a9d65b94 100644 --- a/Eigen/src/Core/products/CoeffBasedProduct.h +++ b/Eigen/src/Core/products/CoeffBasedProduct.h @@ -452,7 +452,7 @@ struct product_packet_impl static EIGEN_STRONG_INLINE void run(Index row, Index col, const Lhs& lhs, const Rhs& rhs, Packet& res) { res = pset1(0); - for(Index i = 1; i < lhs.cols(); ++i) + for(Index i = 0; i < lhs.cols(); ++i) res = pmadd(pset1(lhs.coeff(row, i)), rhs.template packet(i, col), res); } };