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

eigvals: vh not defined error on SymTridiagonal matrices #2606

Closed
jiahao opened this issue Mar 19, 2013 · 3 comments
Closed

eigvals: vh not defined error on SymTridiagonal matrices #2606

jiahao opened this issue Mar 19, 2013 · 3 comments
Assignees
Labels
bug Indicates an unexpected problem or unintended behavior

Comments

@jiahao
Copy link
Member

jiahao commented Mar 19, 2013

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

@ghost ghost assigned andreasnoack and ViralBShah Mar 19, 2013
@ViralBShah
Copy link
Member

@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
Copy link
Member Author

jiahao commented Mar 19, 2013

I think I fixed it...

@ViralBShah
Copy link
Member

Closed by 417f142

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Indicates an unexpected problem or unintended behavior
Projects
None yet
Development

No branches or pull requests

3 participants