From 8ddb0ce0acafe75d78df528b4d2540dfbf4b364d Mon Sep 17 00:00:00 2001 From: Charles Harris Date: Sun, 18 Aug 2013 11:16:06 -0600 Subject: STY: Giant whitespace cleanup. Now is as good a time as any with open PR's at a low. --- numpy/f2py/doc/multiarray/array_from_pyobj.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'numpy/f2py/doc/multiarray/array_from_pyobj.c') diff --git a/numpy/f2py/doc/multiarray/array_from_pyobj.c b/numpy/f2py/doc/multiarray/array_from_pyobj.c index 03d4aacf6..237d16dbc 100644 --- a/numpy/f2py/doc/multiarray/array_from_pyobj.c +++ b/numpy/f2py/doc/multiarray/array_from_pyobj.c @@ -311,9 +311,9 @@ int check_and_fix_dimensions(const PyArrayObject* arr,const int rank,int *dims) if (arr->dimensions[i]!=dims[i]) { fprintf(stderr,"%d-th dimension must be fixed to %d but got %d\n", i,dims[i],arr->dimensions[i]); - return 1; + return 1; } - if (!dims[i]) dims[i] = 1; + if (!dims[i]) dims[i] = 1; } else dims[i] = arr->dimensions[i]; } -- cgit v1.2.1