summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTravis Oliphant <oliphant@enthought.com>2006-01-22 05:38:18 +0000
committerTravis Oliphant <oliphant@enthought.com>2006-01-22 05:38:18 +0000
commitf32a4e4d4836da7cf9e43f7b14e31a3922713b35 (patch)
treef6ff390ce099db8e9933294eb9a2b1e3bf64f6ee
parent34b8ce671b12e9ee6740dc4df32fafc2eae44f64 (diff)
downloadnumpy-f32a4e4d4836da7cf9e43f7b14e31a3922713b35.tar.gz
Comment change in fortranobject.c better.
-rw-r--r--numpy/f2py/src/fortranobject.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/numpy/f2py/src/fortranobject.c b/numpy/f2py/src/fortranobject.c
index 0717f9ce5..3c88b7d8b 100644
--- a/numpy/f2py/src/fortranobject.c
+++ b/numpy/f2py/src/fortranobject.c
@@ -703,6 +703,10 @@ int check_and_fix_dimensions(const PyArrayObject* arr,const int rank,intp *dims)
arr->nd,effrank,rank);
return 1;
}
+ /* old f2py used to swap the dimensions so that dims had
+ reversed dimensions from arr->dimensions -- don't do that
+ anymore...
+ */
/*
for (i=0,j=0;i<rank;++i) {
while (j<arr->nd && arr->dimensions[j]<2) ++j;