summaryrefslogtreecommitdiff
path: root/numpy
diff options
context:
space:
mode:
authorJay Bourque <jay.bourque@continuum.io>2013-08-14 18:18:03 -0500
committerJay Bourque <jay.bourque@continuum.io>2013-08-16 16:39:33 -0500
commitacef718f40a30188c1379c13cc49c920d9e7c303 (patch)
treeecfbced2ba34d1e2e74029cd40044c16b92455d3 /numpy
parentec9d9cc8c5b8bc119130891efcaffe192f47a73b (diff)
downloadnumpy-acef718f40a30188c1379c13cc49c920d9e7c303.tar.gz
Change casting type for ufunc operands
Diffstat (limited to 'numpy')
-rw-r--r--numpy/core/src/umath/ufunc_object.c2
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;
}