Closed nrontsis closed 5 years ago
No problem, thanks for reproducible errors.
Preliminary finding: howmany
and which
are not keyword arguments, so if you use eigsolve(A, 1, :LR)
you get the correct result. I guess the syntax eigsolve(A, howmany=1, which=:LR)
passes howmany
and which
as keyword arguments, which are subsequentially ignored by the way I process keyword arguments, and the default choice which=:LM
is used.
Ah, I see. My bad, thanks for the explanation.
I guess there could be an error message for this, although I do occasionally like to pass a bunch of keyword arguments around, even if some of them do not apply to the actual method. That's why I am currently ignoring unknown keyword arguments.
I notice that sometimes
eigsolve
returns incorrect results. Below you can find a minimal example:Download error.jld2 and run:
which produces the following output
on
Julia
version:1.0.1
KrylovKit.jl
version: latest master (28d74fd)Apologies for reporting issues without participating in fixing them. I hope that, in the future, I will be able to help more.