diff options
author | Geoffrey Irving <irving@naml.us> | 2011-12-04 22:57:50 -0800 |
---|---|---|
committer | Charles Harris <charlesr.harris@gmail.com> | 2011-12-21 13:13:43 -0700 |
commit | 31eccabfd84dd1058afa0ce8908e00dfd74cfa71 (patch) | |
tree | 15be2149a1297ed059c015369d2508c4f9b25a5a | |
parent | 1b7673d7ddf3671e5ffd05fef864708dc6dd4752 (diff) | |
download | numpy-31eccabfd84dd1058afa0ce8908e00dfd74cfa71.tar.gz |
BUG: ufunc_type_resolution.c: Fix another user defined type ufunc bug
-rw-r--r-- | numpy/core/src/umath/ufunc_type_resolution.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/core/src/umath/ufunc_type_resolution.c b/numpy/core/src/umath/ufunc_type_resolution.c index 4e81e929b..2f3cd5582 100644 --- a/numpy/core/src/umath/ufunc_type_resolution.c +++ b/numpy/core/src/umath/ufunc_type_resolution.c @@ -1737,7 +1737,7 @@ type_tuple_userloop_type_resolver(PyUFuncObject *self, /* It works */ case 1: set_ufunc_loop_data_types(self, op, out_dtype, types); - return 0; + return 1; /* Didn't match */ case 0: PyErr_Format(PyExc_TypeError, |