aboutsummaryrefslogtreecommitdiffhomepage
path: root/blas
diff options
context:
space:
mode:
authorGravatar Benoit Jacob <jacob.benoit.1@gmail.com>2011-02-17 09:41:17 -0500
committerGravatar Benoit Jacob <jacob.benoit.1@gmail.com>2011-02-17 09:41:17 -0500
commitd0b8ce8f2a7da4fb7610c0a727417dbf307b9afd (patch)
treeb2dc14cf7bdf163d8312bf85c1b89dadc0d1118e /blas
parent1c4e85ac7ef8c24e157f984b7d4f099854cf4657 (diff)
fix unused var warning
Diffstat (limited to 'blas')
-rw-r--r--blas/level3_impl.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/blas/level3_impl.h b/blas/level3_impl.h
index 6c53dc679..0a3aa98b8 100644
--- a/blas/level3_impl.h
+++ b/blas/level3_impl.h
@@ -343,8 +343,6 @@ int EIGEN_BLAS_FUNC(syrk)(char *uplo, char *op, int *n, int *k, RealScalar *palp
if(info)
return xerbla_(SCALAR_SUFFIX_UP"SYRK ",&info,6);
- int code = OP(*op) | (UPLO(*uplo) << 2);
-
if(beta!=Scalar(1))
{
if(UPLO(*uplo)==UP)
@@ -372,6 +370,7 @@ int EIGEN_BLAS_FUNC(syrk)(char *uplo, char *op, int *n, int *k, RealScalar *palp
matrix(c, *n, *n, *ldc).triangularView<Lower>() += alpha * matrix(a,*k,*n,*lda).transpose() * matrix(a,*k,*n,*lda);
}
#else
+ int code = OP(*op) | (UPLO(*uplo) << 2);
func[code](*n, *k, a, *lda, a, *lda, c, *ldc, alpha);
#endif