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

{D,Z}BBCSD: stricter zero criterion #966

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
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
4 changes: 2 additions & 2 deletions SRC/dbbcsd.f
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@
* =========================
*>
*> \verbatim
*> TOLMUL DOUBLE PRECISION, default = MAX(10,MIN(100,EPS**(-1/8)))
*> TOLMUL DOUBLE PRECISION, default = 10
*> TOLMUL controls the convergence criterion of the QR loop.
*> Angles THETA(i), PHI(i) are rounded to 0 or PI/2 when they
*> are within TOLMUL*EPS of either bound.
Expand Down Expand Up @@ -451,7 +451,7 @@
*
EPS = DLAMCH( 'Epsilon' )
UNFL = DLAMCH( 'Safe minimum' )
TOLMUL = MAX( TEN, MIN( HUNDRED, EPS**MEIGHTH ) )
TOLMUL = TEN

Check warning on line 454 in SRC/dbbcsd.f

View check run for this annotation

Codecov / codecov/patch

SRC/dbbcsd.f#L454

Added line #L454 was not covered by tests
TOL = TOLMUL*EPS
THRESH = MAX( TOL, MAXITR*Q*Q*UNFL )
*
Expand Down
4 changes: 2 additions & 2 deletions SRC/zbbcsd.f
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@
* =========================
*>
*> \verbatim
*> TOLMUL DOUBLE PRECISION, default = MAX(10,MIN(100,EPS**(-1/8)))
*> TOLMUL DOUBLE PRECISION, default = 10
*> TOLMUL controls the convergence criterion of the QR loop.
*> Angles THETA(i), PHI(i) are rounded to 0 or PI/2 when they
*> are within TOLMUL*EPS of either bound.
Expand Down Expand Up @@ -450,7 +450,7 @@
*
EPS = DLAMCH( 'Epsilon' )
UNFL = DLAMCH( 'Safe minimum' )
TOLMUL = MAX( TEN, MIN( HUNDRED, EPS**MEIGHTH ) )
TOLMUL = TEN

Check warning on line 453 in SRC/zbbcsd.f

View check run for this annotation

Codecov / codecov/patch

SRC/zbbcsd.f#L453

Added line #L453 was not covered by tests
TOL = TOLMUL*EPS
THRESH = MAX( TOL, MAXITR*Q*Q*UNFL )
*
Expand Down
Loading