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

stedc scales only if norm is tiny or huge (and not unconditionally) #1053

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

angsch
Copy link
Collaborator

@angsch angsch commented Sep 18, 2024

Description

Replace unconditional scaling

lapack/SRC/dstedc.f

Lines 380 to 387 in 2cbabee

ORGNRM = DLANST( 'M', M, D( START ), E( START ) )
CALL DLASCL( 'G', 0, 0, ORGNRM, ONE, M, 1, D( START ),
$ M,
$ INFO )
CALL DLASCL( 'G', 0, 0, ORGNRM, ONE, M-1, 1,
$ E( START ),
$ M-1, INFO )
*

with conditional scaling as done in, for example, steqr.

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.

2 participants