aboutsummaryrefslogtreecommitdiffhomepage
path: root/blas/level2_impl.h
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2013-02-25 18:05:57 +0100
committerGravatar Gael Guennebaud <g.gael@free.fr>2013-02-25 18:05:57 +0100
commit12a1313b09bcfdddc2cda311d6cb29b2accc2763 (patch)
treef0a58aa37bd9f162502f052897c749d3d5790f5f /blas/level2_impl.h
parentcc35c4425698f8a9b8293af0c02dfc385442ad6b (diff)
bug #482: pass scalar arguments by const references. Still remains a few cases that might affect the ABI (see the bug entry)
Diffstat (limited to 'blas/level2_impl.h')
-rw-r--r--blas/level2_impl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/blas/level2_impl.h b/blas/level2_impl.h
index bd41f7e60..5f3941975 100644
--- a/blas/level2_impl.h
+++ b/blas/level2_impl.h
@@ -130,7 +130,7 @@ int EIGEN_BLAS_FUNC(trsv)(char *uplo, char *opa, char *diag, int *n, RealScalar
int EIGEN_BLAS_FUNC(trmv)(char *uplo, char *opa, char *diag, int *n, RealScalar *pa, int *lda, RealScalar *pb, int *incb)
{
- typedef void (*functype)(int, int, const Scalar *, int, const Scalar *, int, Scalar *, int, Scalar);
+ typedef void (*functype)(int, int, const Scalar *, int, const Scalar *, int, Scalar *, int, const Scalar&);
static functype func[16];
static bool init = false;