Skip to content

Commit d54857f

Browse files
authored
Merge pull request #1030 from dklyuchinskiy/fix-few-typos-and-sytrd-workspace
fix few typos and sytrd boundary workspace
2 parents e60ea22 + 69992ad commit d54857f

File tree

7 files changed

+7
-7
lines changed

7 files changed

+7
-7
lines changed

SRC/cgehrd.f

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ SUBROUTINE CGEHRD( N, ILO, IHI, A, LDA, TAU, WORK, LWORK,
232232
IF( NH.LE.1 ) THEN
233233
LWKOPT = 1
234234
ELSE
235-
NB = MIN( NBMAX, ILAENV( 1, 'DGEHRD', ' ', N, ILO, IHI,
235+
NB = MIN( NBMAX, ILAENV( 1, 'CGEHRD', ' ', N, ILO, IHI,
236236
$ -1 ) )
237237
LWKOPT = N*NB + TSIZE
238238
END IF

SRC/chetrd.f

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ SUBROUTINE CHETRD( UPLO, N, A, LDA, D, E, TAU, WORK, LWORK,
251251
* Determine the block size.
252252
*
253253
NB = ILAENV( 1, 'CHETRD', UPLO, N, -1, -1, -1 )
254-
LWKOPT = N*NB
254+
LWKOPT = MAX( 1, N*NB )
255255
WORK( 1 ) = SROUNDUP_LWORK(LWKOPT)
256256
END IF
257257
*

SRC/sgelqt.f

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
*>
1919
*> \verbatim
2020
*>
21-
*> DGELQT computes a blocked LQ factorization of a real M-by-N matrix A
21+
*> SGELQT computes a blocked LQ factorization of a real M-by-N matrix A
2222
*> using the compact WY representation of Q.
2323
*> \endverbatim
2424
*

SRC/sgemlq.f

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@
7474
*> A is REAL array, dimension
7575
*> (LDA,M) if SIDE = 'L',
7676
*> (LDA,N) if SIDE = 'R'
77-
*> Part of the data structure to represent Q as returned by DGELQ.
77+
*> Part of the data structure to represent Q as returned by SGELQ.
7878
*> \endverbatim
7979
*>
8080
*> \param[in] LDA

SRC/sgemlqt.f

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
*>
2121
*> \verbatim
2222
*>
23-
*> DGEMLQT overwrites the general real M-by-N matrix C with
23+
*> SGEMLQT overwrites the general real M-by-N matrix C with
2424
*>
2525
*> SIDE = 'L' SIDE = 'R'
2626
*> TRANS = 'N': Q C C Q

SRC/ssytrd.f

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ SUBROUTINE SSYTRD( UPLO, N, A, LDA, D, E, TAU, WORK, LWORK,
249249
* Determine the block size.
250250
*
251251
NB = ILAENV( 1, 'SSYTRD', UPLO, N, -1, -1, -1 )
252-
LWKOPT = N*NB
252+
LWKOPT = MAX( 1, N*NB )
253253
WORK( 1 ) = SROUNDUP_LWORK(LWKOPT)
254254
END IF
255255
*

SRC/zhetrd.f

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ SUBROUTINE ZHETRD( UPLO, N, A, LDA, D, E, TAU, WORK, LWORK,
250250
* Determine the block size.
251251
*
252252
NB = ILAENV( 1, 'ZHETRD', UPLO, N, -1, -1, -1 )
253-
LWKOPT = N*NB
253+
LWKOPT = MAX( 1, N*NB )
254254
WORK( 1 ) = LWKOPT
255255
END IF
256256
*

0 commit comments

Comments
 (0)