Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

drotmg.f: Replace GAM**2 by existing GAMSQ #1000

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions BLAS/SRC/drotmg.f
Original file line number Diff line number Diff line change
Expand Up @@ -201,12 +201,12 @@ SUBROUTINE DROTMG(DD1,DD2,DX1,DY1,DPARAM)
DFLAG = -ONE
END IF
IF (DD1.LE.RGAMSQ) THEN
DD1 = DD1*GAM**2
DD1 = DD1*GAMSQ
DX1 = DX1/GAM
DH11 = DH11/GAM
DH12 = DH12/GAM
ELSE
DD1 = DD1/GAM**2
DD1 = DD1/GAMSQ
DX1 = DX1*GAM
DH11 = DH11*GAM
DH12 = DH12*GAM
Expand All @@ -226,11 +226,11 @@ SUBROUTINE DROTMG(DD1,DD2,DX1,DY1,DPARAM)
DFLAG = -ONE
END IF
IF (DABS(DD2).LE.RGAMSQ) THEN
DD2 = DD2*GAM**2
DD2 = DD2*GAMSQ
DH21 = DH21/GAM
DH22 = DH22/GAM
ELSE
DD2 = DD2/GAM**2
DD2 = DD2/GAMSQ
DH21 = DH21*GAM
DH22 = DH22*GAM
END IF
Expand Down
Loading