Browse Source
Merge pull request #3212 from martin-frbg/lapack463
Initialize X and Y to zero for N=0 in xGGGLM (Reference-LAPACK PR463)
tags/v0.3.15
Martin Kroeker
GitHub
5 years ago
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with
36 additions and
8 deletions
-
lapack-netlib/SRC/cggglm.f
-
lapack-netlib/SRC/dggglm.f
-
lapack-netlib/SRC/sggglm.f
-
lapack-netlib/SRC/zggglm.f
|
|
|
@@ -271,8 +271,15 @@ |
|
|
|
* |
|
|
|
* Quick return if possible |
|
|
|
* |
|
|
|
IF( N.EQ.0 ) |
|
|
|
$ RETURN |
|
|
|
IF( N.EQ.0 ) THEN |
|
|
|
DO I = 1, M |
|
|
|
X(I) = CZERO |
|
|
|
END DO |
|
|
|
DO I = 1, P |
|
|
|
Y(I) = CZERO |
|
|
|
END DO |
|
|
|
RETURN |
|
|
|
END IF |
|
|
|
* |
|
|
|
* Compute the GQR factorization of matrices A and B: |
|
|
|
* |
|
|
|
|
|
|
|
@@ -270,8 +270,15 @@ |
|
|
|
* |
|
|
|
* Quick return if possible |
|
|
|
* |
|
|
|
IF( N.EQ.0 ) |
|
|
|
$ RETURN |
|
|
|
IF( N.EQ.0 ) THEN |
|
|
|
DO I = 1, M |
|
|
|
X(I) = ZERO |
|
|
|
END DO |
|
|
|
DO I = 1, P |
|
|
|
Y(I) = ZERO |
|
|
|
END DO |
|
|
|
RETURN |
|
|
|
END IF |
|
|
|
* |
|
|
|
* Compute the GQR factorization of matrices A and B: |
|
|
|
* |
|
|
|
|
|
|
|
@@ -270,8 +270,15 @@ |
|
|
|
* |
|
|
|
* Quick return if possible |
|
|
|
* |
|
|
|
IF( N.EQ.0 ) |
|
|
|
$ RETURN |
|
|
|
IF( N.EQ.0 ) THEN |
|
|
|
DO I = 1, M |
|
|
|
X(I) = ZERO |
|
|
|
END DO |
|
|
|
DO I = 1, P |
|
|
|
Y(I) = ZERO |
|
|
|
END DO |
|
|
|
RETURN |
|
|
|
END IF |
|
|
|
* |
|
|
|
* Compute the GQR factorization of matrices A and B: |
|
|
|
* |
|
|
|
|
|
|
|
@@ -271,8 +271,15 @@ |
|
|
|
* |
|
|
|
* Quick return if possible |
|
|
|
* |
|
|
|
IF( N.EQ.0 ) |
|
|
|
$ RETURN |
|
|
|
IF( N.EQ.0 ) THEN |
|
|
|
DO I = 1, M |
|
|
|
X(I) = CZERO |
|
|
|
END DO |
|
|
|
DO I = 1, P |
|
|
|
Y(I) = CZERO |
|
|
|
END DO |
|
|
|
RETURN |
|
|
|
END IF |
|
|
|
* |
|
|
|
* Compute the GQR factorization of matrices A and B: |
|
|
|
* |
|
|
|
|