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

Error of eigmax & eigmin for real symmetric matrix #7647

Closed
lindahua opened this issue Jul 18, 2014 · 0 comments
Closed

Error of eigmax & eigmin for real symmetric matrix #7647

lindahua opened this issue Jul 18, 2014 · 0 comments
Labels
domain:linear algebra Linear algebra kind:bug Indicates an unexpected problem or unintended behavior kind:regression Regression in behavior compared to a previous version

Comments

@lindahua
Copy link
Contributor

I encountered the error on Mac, with latest master branch:

julia> x = rand(3,3);

julia> eigvals(Symmetric(x'x))
3-element Array{Float64,1}:
 0.00247248
 0.542792  
 3.53177   

julia> eigmax(Symmetric(x'x))
 ** On entry to DSYEVR parameter number  8 had an illegal value
ERROR: ArgumentError("invalid argument #8 to LAPACK call")
 in syevr! at linalg/lapack.jl:2862
 in eigvals! at linalg/symmetric.jl:47
 in eigvals at linalg/factorization.jl:577
 in eigmax at linalg/symmetric.jl:48

julia> eigmin(Symmetric(x'x))
 ** On entry to DSYEVR parameter number  8 had an illegal value
ERROR: ArgumentError("invalid argument #8 to LAPACK call")
 in syevr! at linalg/lapack.jl:2862
 in eigvals! at linalg/symmetric.jl:47
 in eigvals at linalg/factorization.jl:577
 in eigmin at linalg/symmetric.jl:49

julia> versioninfo()
Julia Version 0.3.0-rc1+28
Commit 79e4771 (2014-07-15 12:18 UTC)
Platform Info:
  System: Darwin (x86_64-apple-darwin13.2.0)
  CPU: Intel(R) Core(TM) i7-3720QM CPU @ 2.60GHz
  WORD_SIZE: 64
  BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY Sandybridge)
  LAPACK: libopenblas
  LIBM: libopenlibm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
domain:linear algebra Linear algebra kind:bug Indicates an unexpected problem or unintended behavior kind:regression Regression in behavior compared to a previous version
Projects
None yet
Development

No branches or pull requests

2 participants