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

LinearAlgebra: ignore S.ev[length(S.dv)] in ishermitian(S:SymTridiagonal) #41089

Merged
merged 2 commits into from
Jun 5, 2021

Conversation

anaveragehuman
Copy link
Contributor

SymTridiagonal allows dv and ev to have the same length, in which case the last element of ev isn't part of the matrix. Thus it doesn't matter, and should be ignored when checking if ev is real.

Thanks to @sostock for pointing this out in #41037 (comment).

…nal)

SymTridiagonal allows `dv` and `ev` to have the same length, in which
case the last element of `ev` isn't part of the matrix. Thus it doesn't
matter, and should be ignored when checking if `ev` is real.

Thanks to @sostock for pointing this out in
JuliaLang#41037 (comment)
@mbauman mbauman added the linear algebra Linear algebra label Jun 4, 2021
@dkarrasch dkarrasch added merge me PR is reviewed. Merge when all tests are passing and removed merge me PR is reviewed. Merge when all tests are passing labels Jun 5, 2021
@dkarrasch dkarrasch merged commit 2cf5f98 into JuliaLang:master Jun 5, 2021
shirodkara pushed a commit to shirodkara/julia that referenced this pull request Jun 9, 2021
johanmon pushed a commit to johanmon/julia that referenced this pull request Jul 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
linear algebra Linear algebra
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants