Skip to content

Commit 5f2b1aa

Browse files
committed
[BLAS] Fix missing logic path in xrotmg.f
1 parent 4d1afcd commit 5f2b1aa

2 files changed

Lines changed: 20 additions & 0 deletions

File tree

BLAS/SRC/drotmg.f

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,16 @@ SUBROUTINE DROTMG(DD1,DD2,DX1,DY1,DPARAM)
152152
DD1 = DD1/DU
153153
DD2 = DD2/DU
154154
DX1 = DX1*DU
155+
ELSE
156+
DFLAG = -ONE
157+
DH11 = ZERO
158+
DH12 = ZERO
159+
DH21 = ZERO
160+
DH22 = ZERO
161+
*
162+
DD1 = ZERO
163+
DD2 = ZERO
164+
DX1 = ZERO
155165
END IF
156166
ELSE
157167

BLAS/SRC/srotmg.f

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,16 @@ SUBROUTINE SROTMG(SD1,SD2,SX1,SY1,SPARAM)
152152
SD1 = SD1/SU
153153
SD2 = SD2/SU
154154
SX1 = SX1*SU
155+
ELSE
156+
SFLAG = -ONE
157+
SH11 = ZERO
158+
SH12 = ZERO
159+
SH21 = ZERO
160+
SH22 = ZERO
161+
*
162+
SD1 = ZERO
163+
SD2 = ZERO
164+
SX1 = ZERO
155165
END IF
156166
ELSE
157167

0 commit comments

Comments
 (0)