diff options
author | Eric Wieser <wieser.eric@gmail.com> | 2017-11-10 00:48:03 -0800 |
---|---|---|
committer | Charles Harris <charlesr.harris@gmail.com> | 2017-11-26 14:11:08 -0700 |
commit | 1a0f38190271dcee2f42f6cf74531af64440ddc3 (patch) | |
tree | 27a6c835794ce1e9f74459def512dc8c20fa0132 | |
parent | 3fa0096a0689ea5ede1bee63cea16f1c0ce40953 (diff) | |
download | numpy-1a0f38190271dcee2f42f6cf74531af64440ddc3.tar.gz |
BUG: prototypes for [cz]dot[uc] are incorrect
F2C does not support complex return values.
-rw-r--r-- | numpy/linalg/umath_linalg.c.src | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/numpy/linalg/umath_linalg.c.src b/numpy/linalg/umath_linalg.c.src index 7a3a2ec3f..36b99b522 100644 --- a/numpy/linalg/umath_linalg.c.src +++ b/numpy/linalg/umath_linalg.c.src @@ -294,20 +294,20 @@ extern double FNAME(ddot)(int *n, double *sx, int *incx, double *sy, int *incy); -extern f2c_complex -FNAME(cdotu)(int *n, +extern void +FNAME(cdotu)(f2c_complex *ret, int *n, f2c_complex *sx, int *incx, f2c_complex *sy, int *incy); -extern f2c_doublecomplex -FNAME(zdotu)(int *n, +extern void +FNAME(zdotu)(f2c_doublecomplex *ret, int *n, f2c_doublecomplex *sx, int *incx, f2c_doublecomplex *sy, int *incy); -extern f2c_complex -FNAME(cdotc)(int *n, +extern void +FNAME(cdotc)(f2c_complex *ret, int *n, f2c_complex *sx, int *incx, f2c_complex *sy, int *incy); -extern f2c_doublecomplex -FNAME(zdotc)(int *n, +extern void +FNAME(zdotc)(f2c_doublecomplex *ret, int *n, f2c_doublecomplex *sx, int *incx, f2c_doublecomplex *sy, int *incy); |