summaryrefslogtreecommitdiff
path: root/SRC/chetrf_aa.f
diff options
context:
space:
mode:
Diffstat (limited to 'SRC/chetrf_aa.f')
-rw-r--r--SRC/chetrf_aa.f24
1 files changed, 5 insertions, 19 deletions
diff --git a/SRC/chetrf_aa.f b/SRC/chetrf_aa.f
index 153a089d..bed227f3 100644
--- a/SRC/chetrf_aa.f
+++ b/SRC/chetrf_aa.f
@@ -114,11 +114,7 @@
*> \verbatim
*> INFO is INTEGER
*> = 0: successful exit
-*> < 0: if INFO = -i, the i-th argument had an illegal value
-*> > 0: if INFO = i, D(i,i) is exactly zero. The factorization
-*> has been completed, but the block diagonal matrix D is
-*> exactly singular, and division by zero will occur if it
-*> is used to solve a system of equations.
+*> < 0: if INFO = -i, the i-th argument had an illegal value.
*> \endverbatim
*
* Authors:
@@ -159,7 +155,7 @@
*
* .. Local Scalars ..
LOGICAL LQUERY, UPPER
- INTEGER J, LWKOPT, IINFO
+ INTEGER J, LWKOPT
INTEGER NB, MJ, NJ, K1, K2, J1, J2, J3, JB
COMPLEX ALPHA
* ..
@@ -215,13 +211,10 @@
IPIV( 1 ) = 1
IF ( N.EQ.1 ) THEN
A( 1, 1 ) = REAL( A( 1, 1 ) )
- IF ( A( 1, 1 ).EQ.ZERO ) THEN
- INFO = 1
- END IF
RETURN
END IF
*
-* Adjubst block size based on the workspace size
+* Adjust block size based on the workspace size
*
IF( LWORK.LT.((1+NB)*N) ) THEN
NB = ( LWORK-N ) / N
@@ -261,11 +254,7 @@
*
CALL CLAHEF_AA( UPLO, 2-K1, N-J, JB,
$ A( MAX(1, J), J+1 ), LDA,
- $ IPIV( J+1 ), WORK, N, WORK( N*NB+1 ),
- $ IINFO )
- IF( (IINFO.GT.0) .AND. (INFO.EQ.0) ) THEN
- INFO = IINFO+J
- ENDIF
+ $ IPIV( J+1 ), WORK, N, WORK( N*NB+1 ) )
*
* Ajust IPIV and apply it back (J-th step picks (J+1)-th pivot)
*
@@ -385,10 +374,7 @@
*
CALL CLAHEF_AA( UPLO, 2-K1, N-J, JB,
$ A( J+1, MAX(1, J) ), LDA,
- $ IPIV( J+1 ), WORK, N, WORK( N*NB+1 ), IINFO)
- IF( (IINFO.GT.0) .AND. (INFO.EQ.0) ) THEN
- INFO = IINFO+J
- ENDIF
+ $ IPIV( J+1 ), WORK, N, WORK( N*NB+1 ) )
*
* Ajust IPIV and apply it back (J-th step picks (J+1)-th pivot)
*