diff options
Diffstat (limited to 'numpy/core/src/umathmodule.c.src')
-rw-r--r-- | numpy/core/src/umathmodule.c.src | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/numpy/core/src/umathmodule.c.src b/numpy/core/src/umathmodule.c.src index ba1521aeb..03e3a34d2 100644 --- a/numpy/core/src/umathmodule.c.src +++ b/numpy/core/src/umathmodule.c.src @@ -1279,15 +1279,10 @@ static void { intp i, is1 = steps[0], os = steps[1], n = dimensions[0]; char *i1 = args[0], *op = args[1]; - c@typ@ *x, *y; - @typ@ xr, xi, xmag2; + c@typ@ *y; for (i = 0; i < n; i++, i1 += is1, op += os) { - x = (c@typ@ *)i1; y = (c@typ@ *)op; - xr = x->real; - xi = x->imag; - xmag2 = xr*xr + xi*xi; y->real = 1.0; y->imag = 0.0; } |