diff options
Diffstat (limited to 'numpy')
-rw-r--r-- | numpy/core/src/umath/ufunc_object.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/numpy/core/src/umath/ufunc_object.c b/numpy/core/src/umath/ufunc_object.c index e4d0653cd..86d0a767a 100644 --- a/numpy/core/src/umath/ufunc_object.c +++ b/numpy/core/src/umath/ufunc_object.c @@ -6435,6 +6435,10 @@ ufunc_at(PyUFuncObject *ufunc, PyObject *args) fast_path = 0; } } + else { + /* Not a known loop function */ + fast_path = 0; + } if (fast_path) { PyUFuncGenericFunction loop = get_inner_loop(auxdata); |