diff options
author | Charles Harris <charlesr.harris@gmail.com> | 2008-07-16 19:46:41 +0000 |
---|---|---|
committer | Charles Harris <charlesr.harris@gmail.com> | 2008-07-16 19:46:41 +0000 |
commit | a98f7c8be521ea58a3c9c44729bcd162f01a7f0f (patch) | |
tree | 64b92c99ca153192619296089d69a506e65a2a05 /numpy/core/src/multiarraymodule.c | |
parent | 120252edb36a6dba5f824d73a2ed2624d1cde874 (diff) | |
download | numpy-a98f7c8be521ea58a3c9c44729bcd162f01a7f0f.tar.gz |
Coding style cleanup. Replace hard tabs with spaces.
Diffstat (limited to 'numpy/core/src/multiarraymodule.c')
-rw-r--r-- | numpy/core/src/multiarraymodule.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/numpy/core/src/multiarraymodule.c b/numpy/core/src/multiarraymodule.c index b03723e37..74f0c77ac 100644 --- a/numpy/core/src/multiarraymodule.c +++ b/numpy/core/src/multiarraymodule.c @@ -2164,12 +2164,12 @@ PyArray_CanCoerceScalar(int thistype, int neededtype, if (from->f->cancastscalarkindto && (castlist = from->f->cancastscalarkindto[scalar])) { while (*castlist != PyArray_NOTYPE) - if (*castlist++ == neededtype) { - Py_DECREF(from); - return 1; - } + if (*castlist++ == neededtype) { + Py_DECREF(from); + return 1; + } } - Py_DECREF(from); + Py_DECREF(from); switch(scalar) { case PyArray_BOOL_SCALAR: |