added code to set the last pivots to n: ipiv(n)=jpiv(n)=n
authorjames <james@8a072113-8704-0410-8d35-dd094bca7971>
Tue, 5 Mar 2013 17:52:07 +0000 (17:52 +0000)
committerjames <james@8a072113-8704-0410-8d35-dd094bca7971>
Tue, 5 Mar 2013 17:52:07 +0000 (17:52 +0000)
SRC/cgetc2.f
SRC/dgetc2.f
SRC/sgetc2.f
SRC/zgetc2.f

index e67ea96..8fe22ab 100644 (file)
          INFO = N
          A( N, N ) = CMPLX( SMIN, ZERO )
       END IF
+*
+*     Set last pivots to N
+*
+      IPIV( N ) = N
+      JPIV( N ) = N
+*
       RETURN
 *
 *     End of CGETC2
index 6ae1a20..a33bc37 100644 (file)
          A( N, N ) = SMIN
       END IF
 *
+*     Set last pivots to N
+*
+      IPIV( N ) = N
+      JPIV( N ) = N
+*
       RETURN
 *
 *     End of DGETC2
index 7e9d485..8d688de 100644 (file)
          A( N, N ) = SMIN
       END IF
 *
+*     Set last pivots to N
+*
+      IPIV( N ) = N
+      JPIV( N ) = N
+*
       RETURN
 *
 *     End of SGETC2
index 277ac7c..c205c75 100644 (file)
          INFO = N
          A( N, N ) = DCMPLX( SMIN, ZERO )
       END IF
+*
+*     Set last pivots to N
+*
+      IPIV( N ) = N
+      JPIV( N ) = N
+*
       RETURN
 *
 *     End of ZGETC2