[Numpy-svn] r2935 - trunk/numpy/core/src
numpy-svn at scipy.org
numpy-svn at scipy.org
Mon Jul 31 17:55:24 EDT 2006
Author: oliphant
Date: 2006-07-31 16:55:21 -0500 (Mon, 31 Jul 2006)
New Revision: 2935
Modified:
trunk/numpy/core/src/umathmodule.c.src
Log:
Fix prodi when intput and output are the same. This fixes a problem with arcsin
Modified: trunk/numpy/core/src/umathmodule.c.src
===================================================================
--- trunk/numpy/core/src/umathmodule.c.src 2006-07-31 21:42:45 UTC (rev 2934)
+++ trunk/numpy/core/src/umathmodule.c.src 2006-07-31 21:55:21 UTC (rev 2935)
@@ -710,9 +710,10 @@
static void
nc_prodi at c@(c at typ@ *x, c at typ@ *r)
{
- r->real = -x->imag;
- r->imag = x->real;
- return;
+ @typ@ xr = x->real;
+ r->real = -x->imag;
+ r->imag = xr;
+ return;
}
More information about the Numpy-svn
mailing list