Skip to content

Commit ee33440

Browse files
mwiebecharris
authored andcommitted
STY: Fix a few cases of spaces not following conventions
1 parent d81a85c commit ee33440

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

numpy/core/src/multiarray/number.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,7 @@ fast_scalar_power(PyArrayObject *a1, PyObject *o2, int inplace)
368368
return PyArray_GenericUnaryFunction(a1, fastop);
369369
}
370370
}
371-
else if (exponent==2.0) {
371+
else if (exponent == 2.0) {
372372
fastop = n_ops.multiply;
373373
if (inplace) {
374374
return PyArray_GenericInplaceBinaryFunction

numpy/core/src/multiarray/sequence.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ array_any_nonzero(PyArrayObject *arr)
199199
return anyTRUE;
200200
}
201201
counter = it->size;
202-
while(counter--) {
202+
while (counter--) {
203203
if (PyArray_DESCR(arr)->f->nonzero(it->dataptr, arr)) {
204204
anyTRUE = TRUE;
205205
break;

0 commit comments

Comments
 (0)