From 12a1313b09bcfdddc2cda311d6cb29b2accc2763 Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Mon, 25 Feb 2013 18:05:57 +0100 Subject: bug #482: pass scalar arguments by const references. Still remains a few cases that might affect the ABI (see the bug entry) --- blas/level2_real_impl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'blas/level2_real_impl.h') diff --git a/blas/level2_real_impl.h b/blas/level2_real_impl.h index 842f0a066..8d56eaaa1 100644 --- a/blas/level2_real_impl.h +++ b/blas/level2_real_impl.h @@ -85,7 +85,7 @@ int EIGEN_BLAS_FUNC(syr)(char *uplo, int *n, RealScalar *palpha, RealScalar *px, // init = true; // } - typedef void (*functype)(int, Scalar*, int, const Scalar*, const Scalar*, Scalar); + typedef void (*functype)(int, Scalar*, int, const Scalar*, const Scalar*, const Scalar&); static functype func[2]; static bool init = false; -- cgit v1.2.3