From 9816e8532ef40986e549a201bf7f0f774305501d Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Fri, 12 Apr 2013 15:26:55 +0200 Subject: Fix bug #482: pass scalar value by const reference (it remained a few cases) --- Eigen/src/Core/products/SelfadjointProduct.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Eigen/src/Core/products/SelfadjointProduct.h') diff --git a/Eigen/src/Core/products/SelfadjointProduct.h b/Eigen/src/Core/products/SelfadjointProduct.h index 773ba2ff2..6ca4ae6c0 100644 --- a/Eigen/src/Core/products/SelfadjointProduct.h +++ b/Eigen/src/Core/products/SelfadjointProduct.h @@ -111,7 +111,7 @@ struct selfadjoint_product_selector template template SelfAdjointView& SelfAdjointView -::rankUpdate(const MatrixBase& u, Scalar alpha) +::rankUpdate(const MatrixBase& u, const Scalar& alpha) { selfadjoint_product_selector::run(_expression().const_cast_derived(), u.derived(), alpha); -- cgit v1.2.3