From 81912b3c4191e6c77d6208b597992414135d6b63 Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Wed, 16 Dec 2015 09:47:22 +0100 Subject: [PATCH] typo --- Eigen/src/Core/products/GeneralMatrixMatrix.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Eigen/src/Core/products/GeneralMatrixMatrix.h b/Eigen/src/Core/products/GeneralMatrixMatrix.h index 649bd3f96..cfd2f0095 100644 --- a/Eigen/src/Core/products/GeneralMatrixMatrix.h +++ b/Eigen/src/Core/products/GeneralMatrixMatrix.h @@ -401,7 +401,7 @@ class GeneralProduct template void scaleAndAddTo(Dest& dst, const Scalar& alpha) const { eigen_assert(dst.rows()==m_lhs.rows() && dst.cols()==m_rhs.cols()); - if(a_lhs.cols()==0 || a_lhs.rows()==0 || a_rhs.cols()==0) + if(m_lhs.cols()==0 || m_lhs.rows()==0 || m_rhs.cols()==0) return; typename internal::add_const_on_value_type::type lhs = LhsBlasTraits::extract(m_lhs);