Permalink
Browse files

more tabs removed (hunting for c formatter to take care of this next …

…time)
  • Loading branch information...
1 parent 681bceb commit 120c6bdca272717c21ce4d79c29142ef64c457c0 @ericfode ericfode committed Jul 15, 2012
Showing with 8 additions and 8 deletions.
  1. +8 −8 numpy/core/src/multiarray/common.c
@@ -36,17 +36,17 @@ _array_find_python_scalar_type(PyObject *op)
/* if integer can fit into a longlong then return that*/
if ((PyLong_AsLongLong(op) == -1) && PyErr_Occurred()) {
PyErr_Clear();
- if((PyLong_AsUnsignedLongLong(op) == -1) && PyErr_Occurred()){
- PyErr_Clear();
- }
- else {
- return PyArray_DescrFromType(NPY_ULONGLONG);
- }
+ if((PyLong_AsUnsignedLongLong(op) == -1) && PyErr_Occurred()){
+ PyErr_Clear();
+ }
+ else {
+ return PyArray_DescrFromType(NPY_ULONGLONG);
+ }
return PyArray_DescrFromType(NPY_OBJECT);
- }
+ }
else {
return PyArray_DescrFromType(NPY_LONGLONG);
- }
+ }
}
return NULL;
}

0 comments on commit 120c6bd

Please sign in to comment.