JuliaLang / julia

The Julia Programming Language
https://julialang.org/
MIT License
45.47k stars 5.46k forks source link

eigvals not defined for integer matrices #4736

Closed stevengj closed 10 years ago

stevengj commented 10 years ago

Even though eig is.

(I feel like I've reported this issue before, but I can't find it. Maybe it's just deja vu since I keep running into problems where functions are defined for floating-point matrices but there is no promotion rule for integer matrices.)

ViralBShah commented 10 years ago

This does feel like a deja vu. I recollect @andreasnoackjensen having done something about this.

jiahao commented 10 years ago

Possibly #3954?

andreasnoack commented 10 years ago

Fixed by #4738. I thought this one had been fixed, but it was only so for generalized eigenvalues and singular values. Generalized singular values also did not work for integer matrices.