summaryrefslogtreecommitdiff
path: root/numpy/core/src/ufuncobject.c
diff options
context:
space:
mode:
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);