-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
No method for isless(::Complex128,::Int64) #21273
Comments
how would you compare complex numbers to real integers? it's a bug in the matrix exponential, being worked on in #21184, that it's trying to do this |
It seems that defining
gives the right matrix exponential, and I think this is how MATLAB defines |
Actually scratch that, it seems MATLAB compares the real part only. |
Complex numbers don't have a well-defined total order. We should just fix matrix exponential. |
Yes. Does #21184 also take care of complex matrix exponentials? If so we can close this issue. |
Yes |
It seems that there is no method for comparing complex numbers to integers, which seems to be required for (some) matrix exponentials, and for all complex matrix exponentials.
i.e., the following happens intermitently, depending on the random matrix
but this always throws an error:
The text was updated successfully, but these errors were encountered: