diff options
author | Jay Bourque <jay.bourque@continuum.io> | 2013-08-14 18:18:03 -0500 |
---|---|---|
committer | Jay Bourque <jay.bourque@continuum.io> | 2013-08-16 16:39:33 -0500 |
commit | acef718f40a30188c1379c13cc49c920d9e7c303 (patch) | |
tree | ecfbced2ba34d1e2e74029cd40044c16b92455d3 /numpy | |
parent | ec9d9cc8c5b8bc119130891efcaffe192f47a73b (diff) | |
download | numpy-acef718f40a30188c1379c13cc49c920d9e7c303.tar.gz |
Change casting type for ufunc operands
Diffstat (limited to 'numpy')
-rw-r--r-- | numpy/core/src/umath/ufunc_object.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/core/src/umath/ufunc_object.c b/numpy/core/src/umath/ufunc_object.c index 73a19dcac..fff2e158f 100644 --- a/numpy/core/src/umath/ufunc_object.c +++ b/numpy/core/src/umath/ufunc_object.c @@ -4974,7 +4974,7 @@ ufunc_at(PyUFuncObject *ufunc, PyObject *args) nop = 2; } - if (ufunc->type_resolver(ufunc, NPY_DEFAULT_ASSIGN_CASTING, + if (ufunc->type_resolver(ufunc, NPY_UNSAFE_CASTING, operands, NULL, dtypes) < 0) { goto fail; } |