@@ -1386,7 +1386,7 @@ SUBROUTINE DGEJSV( JOBA, JOBU, JOBV, JOBR, JOBT, JOBP,
13861386 IF ( CONDR2 .GE. COND_OK ) THEN
13871387* .. save the Householder vectors used for Q3
13881388* (this overwrites the copy of R2, as it will not be
1389- * needed in this branch, but it does not overwritte the
1389+ * needed in this branch, but it does not overwrite the
13901390* Huseholder vectors of Q2.).
13911391 CALL DLACPY( ' U' , NR, NR, V, LDV, WORK(2 * N+1 ), N )
13921392* .. and the rest of the information on Q3 is in
@@ -1409,7 +1409,7 @@ SUBROUTINE DGEJSV( JOBA, JOBU, JOBV, JOBR, JOBT, JOBP,
14091409 END IF
14101410*
14111411* Second preconditioning finished; continue with Jacobi SVD
1412- * The input matrix is lower trinagular .
1412+ * The input matrix is lower triangular .
14131413*
14141414* Recover the right singular vectors as solution of a well
14151415* conditioned triangular matrix equation.
@@ -1454,7 +1454,7 @@ SUBROUTINE DGEJSV( JOBA, JOBU, JOBV, JOBR, JOBT, JOBP,
14541454* :) .. the input matrix A is very likely a relative of
14551455* the Kahan matrix :)
14561456* The matrix R2 is inverted. The solution of the matrix equation
1457- * is Q3^T*V3 = the product of the Jacobi rotations (appplied to
1457+ * is Q3^T*V3 = the product of the Jacobi rotations (applied to
14581458* the lower triangular L3 from the LQ factorization of
14591459* R2=L3*Q3), pre-multiplied with the transposed Q3.
14601460 CALL DGESVJ( ' L' , ' U' , ' N' , NR, NR, V, LDV, SVA, NR, U,
0 commit comments