Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

eigvals: vh not defined error on SymTridiagonal matrices #2606

Closed
jiahao opened this Issue · 3 comments

3 participants

Jiahao Chen Viral B. Shah Andreas Noack
Jiahao Chen
Collaborator

eigvals() throws a vh not defined error when using it to compute eigenvalues of a SymTridiagonal matrix. For example:

e=randn(5);
f=randn(4);
M=SymTridiagonal(e,f)
eigvals(M)
ERROR: in eigvals: vh not defined
 in eigvals at linalg/tridiag.jl:50
 in eigvals at linalg/tridiag.jl:51

eig(M) works just fine, as does eigvals(M) for a dense matrix M.

Reported on latest HEAD version (be3835e), OSX 10.8.3

Andreas Noack andreasnoack was assigned
Viral B. Shah ViralBShah was assigned
Andreas Noack andreasnoack was assigned
Viral B. Shah
Owner

@andreasnoackjensen The eigvals for SymTridiagonal looks funny. There are two definitions with the same signatures and they are using variables that are not passed in.

Jiahao Chen
Collaborator

I think I fixed it...

Viral B. Shah
Owner

Closed by 417f142

Viral B. Shah ViralBShah closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.