diff options
author | Eric Wieser <wieser.eric@gmail.com> | 2017-11-10 00:48:03 -0800 |
---|---|---|
committer | Eric Wieser <wieser.eric@gmail.com> | 2017-11-10 00:58:39 -0800 |
commit | db40f77b3de27c0b32986161eb9525e9f243d955 (patch) | |
tree | 708feea665516f6273937cbaea85e93dd1349021 | |
parent | 965324ede75ffd48fbe6a323fb0e918688b350ad (diff) | |
download | numpy-db40f77b3de27c0b32986161eb9525e9f243d955.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); |