summaryrefslogtreecommitdiff
path: root/numpy/f2py
diff options
context:
space:
mode:
authorUnknown <kunda@scribus.net>2017-12-12 19:08:43 -0500
committerUnknown <kunda@scribus.net>2017-12-12 19:09:07 -0500
commitde100beb4b53833f817d4ba9c6d940e4cff96d43 (patch)
treeeba76bff8ae029b4fb805bd6cd4bff4337922f1d /numpy/f2py
parent356b481bcf8783a4ecca6aaa7d7712e347c16101 (diff)
downloadnumpy-de100beb4b53833f817d4ba9c6d940e4cff96d43.tar.gz
DOC: fix minor typos
Diffstat (limited to 'numpy/f2py')
-rw-r--r--numpy/f2py/capi_maps.py2
-rw-r--r--numpy/f2py/cfuncs.py2
-rwxr-xr-xnumpy/f2py/crackfortran.py4
-rw-r--r--numpy/f2py/src/fortranobject.c6
4 files changed, 7 insertions, 7 deletions
diff --git a/numpy/f2py/capi_maps.py b/numpy/f2py/capi_maps.py
index 64829d30c..8e63d3cff 100644
--- a/numpy/f2py/capi_maps.py
+++ b/numpy/f2py/capi_maps.py
@@ -333,7 +333,7 @@ def getarrdims(a, var, verbose=0):
ret['dims'] = ','.join(dim)
ret['rank'] = repr(len(dim))
ret['rank*[-1]'] = repr(len(dim) * [-1])[1:-1]
- for i in range(len(dim)): # solve dim for dependecies
+ for i in range(len(dim)): # solve dim for dependencies
v = []
if dim[i] in depargs:
v = [dim[i]]
diff --git a/numpy/f2py/cfuncs.py b/numpy/f2py/cfuncs.py
index 3b7f694d4..d59b6301c 100644
--- a/numpy/f2py/cfuncs.py
+++ b/numpy/f2py/cfuncs.py
@@ -542,7 +542,7 @@ cppmacros[
'ARRSIZE'] = '#define ARRSIZE(dims,rank) (_PyArray_multiply_list(dims,rank))'
cppmacros['OLDPYNUM'] = """\
#ifdef OLDPYNUM
-#error You need to intall Numeric Python version 13 or higher. Get it from http:/sourceforge.net/project/?group_id=1369
+#error You need to install Numeric Python version 13 or higher. Get it from http:/sourceforge.net/project/?group_id=1369
#endif
"""
################# C functions ###############
diff --git a/numpy/f2py/crackfortran.py b/numpy/f2py/crackfortran.py
index 677f4bae3..78802ef07 100755
--- a/numpy/f2py/crackfortran.py
+++ b/numpy/f2py/crackfortran.py
@@ -2707,7 +2707,7 @@ def analyzevars(block):
i = -1
ni = len(vars[n]['dimension'])
for d in vars[n]['dimension']:
- ddeps = [] # dependecies of 'd'
+ ddeps = [] # dependencies of 'd'
ad = ''
pd = ''
if d not in vars:
@@ -3324,7 +3324,7 @@ if __name__ == "__main__":
funcs.append(l)
if not strictf77 and f77modulename and not skipemptyends:
outmess("""\
- Warning: You have specifyied module name for non Fortran 77 code
+ Warning: You have specified module name for non Fortran 77 code
that should not need one (expect if you are scanning F90 code
for non module blocks but then you should use flag -skipemptyends
and also be sure that the files do not contain programs without program statement).
diff --git a/numpy/f2py/src/fortranobject.c b/numpy/f2py/src/fortranobject.c
index 96b08ea18..a47733433 100644
--- a/numpy/f2py/src/fortranobject.c
+++ b/numpy/f2py/src/fortranobject.c
@@ -576,7 +576,7 @@ static void f2py_report_on_array_copy_fromany(void) {
*
* Description:
* ------------
- * Provides array_from_pyobj function that returns a contigious array
+ * Provides array_from_pyobj function that returns a contiguous array
* object with the given dimensions and required storage order, either
* in row-major (C) or column-major (Fortran) order. The function
* array_from_pyobj is very flexible about its Python object argument
@@ -745,8 +745,8 @@ PyArrayObject* array_from_pyobj(const int type_num,
return NULL;
}
/*
- printf("intent alignement=%d\n", F2PY_GET_ALIGNMENT(intent));
- printf("alignement check=%d\n", F2PY_CHECK_ALIGNMENT(arr, intent));
+ printf("intent alignment=%d\n", F2PY_GET_ALIGNMENT(intent));
+ printf("alignment check=%d\n", F2PY_CHECK_ALIGNMENT(arr, intent));
int i;
for (i=1;i<=16;i++)
printf("i=%d isaligned=%d\n", i, ARRAY_ISALIGNED(arr, i));