aboutsummaryrefslogtreecommitdiffhomepage
path: root/blas/level3_impl.h
diff options
context:
space:
mode:
authorGravatar Chen-Pang He <jdh8@ms63.hinet.net>2012-09-08 01:39:16 +0800
committerGravatar Chen-Pang He <jdh8@ms63.hinet.net>2012-09-08 01:39:16 +0800
commitb0b9b4d6b223cfbfee564427514cd6d693e1c503 (patch)
treeff3da7a5bf23f79dd48e1c3ff5e1e17ef517dab9 /blas/level3_impl.h
parent145f89cd5f8872bfe8bceae127a2421576767e08 (diff)
Implement functors for rank-1 and rank-2 update.
Diffstat (limited to 'blas/level3_impl.h')
-rw-r--r--blas/level3_impl.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/blas/level3_impl.h b/blas/level3_impl.h
index 2371f25c3..84c9f4f2b 100644
--- a/blas/level3_impl.h
+++ b/blas/level3_impl.h
@@ -305,6 +305,7 @@ int EIGEN_BLAS_FUNC(symm)(char *side, char *uplo, int *m, int *n, RealScalar *pa
int EIGEN_BLAS_FUNC(syrk)(char *uplo, char *op, int *n, int *k, RealScalar *palpha, RealScalar *pa, int *lda, RealScalar *pbeta, RealScalar *pc, int *ldc)
{
// std::cerr << "in syrk " << *uplo << " " << *op << " " << *n << " " << *k << " " << *palpha << " " << *lda << " " << *pbeta << " " << *ldc << "\n";
+ #if !ISCOMPLEX
typedef void (*functype)(DenseIndex, DenseIndex, const Scalar *, DenseIndex, const Scalar *, DenseIndex, Scalar *, DenseIndex, Scalar);
static functype func[8];
@@ -324,6 +325,7 @@ int EIGEN_BLAS_FUNC(syrk)(char *uplo, char *op, int *n, int *k, RealScalar *palp
init = true;
}
+ #endif
Scalar* a = reinterpret_cast<Scalar*>(pa);
Scalar* c = reinterpret_cast<Scalar*>(pc);