Skip to content

Commit 920c79a

Browse files
committed
also return after initializing x and y
1 parent dc92964 commit 920c79a

File tree

4 files changed

+4
-0
lines changed

4 files changed

+4
-0
lines changed

SRC/cggglm.f

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -278,6 +278,7 @@ SUBROUTINE CGGGLM( N, M, P, A, LDA, B, LDB, D, X, Y, WORK, LWORK,
278278
DO I = 1, P
279279
Y(I) = CZERO
280280
END DO
281+
RETURN
281282
END IF
282283
*
283284
* Compute the GQR factorization of matrices A and B:

SRC/dggglm.f

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -277,6 +277,7 @@ SUBROUTINE DGGGLM( N, M, P, A, LDA, B, LDB, D, X, Y, WORK, LWORK,
277277
DO I = 1, P
278278
Y(I) = ZERO
279279
END DO
280+
RETURN
280281
END IF
281282
*
282283
* Compute the GQR factorization of matrices A and B:

SRC/sggglm.f

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -277,6 +277,7 @@ SUBROUTINE SGGGLM( N, M, P, A, LDA, B, LDB, D, X, Y, WORK, LWORK,
277277
DO I = 1, P
278278
Y(I) = ZERO
279279
END DO
280+
RETURN
280281
END IF
281282
*
282283
* Compute the GQR factorization of matrices A and B:

SRC/zggglm.f

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -278,6 +278,7 @@ SUBROUTINE ZGGGLM( N, M, P, A, LDA, B, LDB, D, X, Y, WORK, LWORK,
278278
DO I = 1, P
279279
Y(I) = CZERO
280280
END DO
281+
RETURN
281282
END IF
282283
*
283284
* Compute the GQR factorization of matrices A and B:

0 commit comments

Comments
 (0)