projects
/
platform
/
upstream
/
openblas.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5813ed0
)
Update zdot.c
author
Martin Kroeker
<martin@ruby.chemie.uni-freiburg.de>
Mon, 13 Mar 2017 17:08:00 +0000
(18:08 +0100)
committer
GitHub
<noreply@github.com>
Mon, 13 Mar 2017 17:08:00 +0000
(18:08 +0100)
interface/zdot.c
patch
|
blob
|
history
diff --git
a/interface/zdot.c
b/interface/zdot.c
index 7eb8371de2f54fc72906dacac8794a41e867e6b3..cd956b0754c93850d5b1316c12b3ed6b4cb8b966 100644
(file)
--- a/
interface/zdot.c
+++ b/
interface/zdot.c
@@
-160,6
+160,7
@@
OPENBLAS_COMPLEX_FLOAT CNAME(blasint n, FLOAT *x, blasint incx, FLOAT *y, blasin
if (n <= 0) {
#ifdef FORCE_USE_STACK
+ OPENBLAS_COMPLEX_FLOAT zero=OPENBLAS_MAKE_COMPLEX_FLOAT(0.0, 0.0);
*result = zero;
// CREAL(*result) = 0.0;
// CIMAG(*result) = 0.0;