summaryrefslogtreecommitdiff
path: root/numpy/linalg/lapack_lite
diff options
context:
space:
mode:
authorBrian Wignall <brianwignall@gmail.com>2019-12-19 03:39:59 -0500
committerBrian Wignall <brianwignall@gmail.com>2019-12-19 03:39:59 -0500
commit0c2a5eb42c0cddf6844880f1494ddf7765bf9c7b (patch)
tree9a8005ae483b36cf80493ca1389a6002369ee3fd /numpy/linalg/lapack_lite
parent6d69a9e163858de5d0ea2ae810b8febc7eec1dbc (diff)
downloadnumpy-0c2a5eb42c0cddf6844880f1494ddf7765bf9c7b.tar.gz
Fix typos, via a Levenshtein-style corrector
Diffstat (limited to 'numpy/linalg/lapack_lite')
-rw-r--r--numpy/linalg/lapack_lite/f2c.c4
-rw-r--r--numpy/linalg/lapack_lite/f2c_blas.c8
-rw-r--r--numpy/linalg/lapack_lite/fortran.py2
3 files changed, 7 insertions, 7 deletions
diff --git a/numpy/linalg/lapack_lite/f2c.c b/numpy/linalg/lapack_lite/f2c.c
index 1114bef3b..9a1e9cec1 100644
--- a/numpy/linalg/lapack_lite/f2c.c
+++ b/numpy/linalg/lapack_lite/f2c.c
@@ -567,7 +567,7 @@ if( (abi = b->i) < 0.f)
abi = - abi;
if( abr <= abi )
{
- /*Let IEEE Infinties handle this ;( */
+ /*Let IEEE Infinities handle this ;( */
/*if(abi == 0)
sig_die("complex division by zero", 1);*/
ratio = b->r / b->i ;
@@ -603,7 +603,7 @@ if( (abi = b->i) < 0.)
abi = - abi;
if( abr <= abi )
{
- /*Let IEEE Infinties handle this ;( */
+ /*Let IEEE Infinities handle this ;( */
/*if(abi == 0)
sig_die("complex division by zero", 1);*/
ratio = b->r / b->i ;
diff --git a/numpy/linalg/lapack_lite/f2c_blas.c b/numpy/linalg/lapack_lite/f2c_blas.c
index 3af506b71..44ad23bfe 100644
--- a/numpy/linalg/lapack_lite/f2c_blas.c
+++ b/numpy/linalg/lapack_lite/f2c_blas.c
@@ -4912,7 +4912,7 @@ L20:
( 1 + ( n - 1 )*abs( INCX ) ).
Before entry, the incremented array X must contain the n
element vector x. On exit, X is overwritten with the
- tranformed vector x.
+ transformed vector x.
INCX - INTEGER.
On entry, INCX specifies the increment for the elements of
@@ -9807,7 +9807,7 @@ L40:
( 1 + ( n - 1 )*abs( INCX ) ).
Before entry, the incremented array X must contain the n
element vector x. On exit, X is overwritten with the
- tranformed vector x.
+ transformed vector x.
INCX - INTEGER.
On entry, INCX specifies the increment for the elements of
@@ -14410,7 +14410,7 @@ L40:
( 1 + ( n - 1 )*abs( INCX ) ).
Before entry, the incremented array X must contain the n
element vector x. On exit, X is overwritten with the
- tranformed vector x.
+ transformed vector x.
INCX - INTEGER.
On entry, INCX specifies the increment for the elements of
@@ -19998,7 +19998,7 @@ L20:
( 1 + ( n - 1 )*abs( INCX ) ).
Before entry, the incremented array X must contain the n
element vector x. On exit, X is overwritten with the
- tranformed vector x.
+ transformed vector x.
INCX - INTEGER.
On entry, INCX specifies the increment for the elements of
diff --git a/numpy/linalg/lapack_lite/fortran.py b/numpy/linalg/lapack_lite/fortran.py
index dc0a5ebd9..671f14d24 100644
--- a/numpy/linalg/lapack_lite/fortran.py
+++ b/numpy/linalg/lapack_lite/fortran.py
@@ -14,7 +14,7 @@ def isContinuation(line):
COMMENT, STATEMENT, CONTINUATION = 0, 1, 2
def lineType(line):
- """Return the type of a line of Fortan code."""
+ """Return the type of a line of Fortran code."""
if isBlank(line):
return COMMENT
elif isLabel(line):