Skip to content

*tgex2: loosen swap acceptance threshold to fix false rejections#1299

Open
jschueller wants to merge 1 commit into
Reference-LAPACK:masterfrom
jschueller:issue1201
Open

*tgex2: loosen swap acceptance threshold to fix false rejections#1299
jschueller wants to merge 1 commit into
Reference-LAPACK:masterfrom
jschueller:issue1201

Conversation

@jschueller

Copy link
Copy Markdown
Contributor

The weak stability test in TGEX2 rejects a block swap when the off-diagonal block norm BQRA21 exceeds THRESHA = TWENTYEPSSA. For certain matrices (reported by MathWorks from MATLAB's ORDQZ), this threshold is too tight -- BQRA21 can be ~5x larger than TWENTYEPS*SA due to round-off in the preceding QZ steps, even though the swap is mathematically valid (verified via Sylvester equation-based proof).

Increase the safety factor from TWENTY (20) to HUNDRED (100), which fixes all known failing cases (3x3 and 4x4 pencils) while remaining well below the BRQA21 bound that guards against truly invalid swaps.

Closes #1201

The weak stability test in *TGEX2 rejects a block swap when the
off-diagonal block norm BQRA21 exceeds THRESHA = TWENTY*EPS*SA.
For certain matrices (reported by MathWorks from MATLAB's ORDQZ),
this threshold is too tight -- BQRA21 can be ~5x larger than
TWENTY*EPS*SA due to round-off in the preceding QZ steps, even
though the swap is mathematically valid (verified via Sylvester
equation-based proof).

Increase the safety factor from TWENTY (20) to HUNDRED (100),
which fixes all known failing cases (3x3 and 4x4 pencils)
while remaining well below the BRQA21 bound that guards against
truly invalid swaps.

Closes Reference-LAPACK#1201
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Issue in ?TGEX2

1 participant