summaryrefslogtreecommitdiff
path: root/SRC/cgghd3.f
diff options
context:
space:
mode:
authorlawrence.mulholland <lawrence.mulholland@8a072113-8704-0410-8d35-dd094bca7971>2015-10-13 12:10:47 +0000
committerlawrence.mulholland <lawrence.mulholland@8a072113-8704-0410-8d35-dd094bca7971>2015-10-13 12:10:47 +0000
commit2491c9367a9c5e827a935679a4755387b348e159 (patch)
treef72b0ed01a40ed2f6251e60862ca73a230d9375a /SRC/cgghd3.f
parent292c6d6dc87df038746bb9d705ccc3d9fa9987ec (diff)
downloadlapack-2491c9367a9c5e827a935679a4755387b348e159.tar.gz
lapack-2491c9367a9c5e827a935679a4755387b348e159.tar.bz2
lapack-2491c9367a9c5e827a935679a4755387b348e159.zip
bugs in ?GGHD3 : B,LDA-->B,LDB and zeroing of too large a submatrix
Diffstat (limited to 'SRC/cgghd3.f')
-rw-r--r--SRC/cgghd3.f6
1 files changed, 3 insertions, 3 deletions
diff --git a/SRC/cgghd3.f b/SRC/cgghd3.f
index b20cf44f..112b41a1 100644
--- a/SRC/cgghd3.f
+++ b/SRC/cgghd3.f
@@ -755,9 +755,9 @@
END DO
ELSE
*
- CALL CLASET( 'Lower', IHI - JCOL + 1, NNB, CZERO, CZERO,
+ CALL CLASET( 'Lower', IHI - JCOL - 1, NNB, CZERO, CZERO,
$ A( JCOL + 2, JCOL ), LDA )
- CALL CLASET( 'Lower', IHI - JCOL + 1, NNB, CZERO, CZERO,
+ CALL CLASET( 'Lower', IHI - JCOL - 1, NNB, CZERO, CZERO,
$ B( JCOL + 2, JCOL ), LDB )
END IF
*
@@ -810,7 +810,7 @@
*
CALL CUNM22( 'Right', 'No Transpose', TOP, 2*NNB,
$ NNB, NNB, WORK( PPWO ), 2*NNB,
- $ B( 1, J ), LDA, WORK( PW ),
+ $ B( 1, J ), LDB, WORK( PW ),
$ LWORK-PW+1, IERR )
ELSE
*