summaryrefslogtreecommitdiff
path: root/numpy/core/src/ufuncobject.c
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2008-11-14 08:27:02 +0000
committerCharles Harris <charlesr.harris@gmail.com>2008-11-14 08:27:02 +0000
commitfd9a6496911b449882788c3e7d99d15efec6d6d3 (patch)
tree542992552a0df1ac1d54c6ae5609f6abc6bd30ad /numpy/core/src/ufuncobject.c
parentcdffc01b366512e01034a8de312fe4287f3efd07 (diff)
downloadnumpy-fd9a6496911b449882788c3e7d99d15efec6d6d3.tar.gz
Merge branch 'ufunc'
Diffstat (limited to 'numpy/core/src/ufuncobject.c')
-rw-r--r--numpy/core/src/ufuncobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/core/src/ufuncobject.c b/numpy/core/src/ufuncobject.c
index d6e1a68f2..078dd1295 100644
--- a/numpy/core/src/ufuncobject.c
+++ b/numpy/core/src/ufuncobject.c
@@ -91,7 +91,7 @@ PyUFunc_ff_f_As_dd_d(char **args, intp *dimensions, intp *steps, void *func)
static void
PyUFunc_d_d(char **args, intp *dimensions, intp *steps, void *func)
{
- doubleUnaryFunc *f = (floatUnaryFunc *)func;
+ doubleUnaryFunc *f = (doubleUnaryFunc *)func;
UNARY_LOOP {
double in1 = *(double *)ip1;
*(double *)op1 = f(in1);