You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The MethodError is quite common in Julia when there is no specialized version of the code for that type so I'm not sure what you want instead. Somtimes it is better to throw an error than give wrong results or slow computations.
Since
H[1:1,1]
is hermitian, this branch goes through:ExponentialUtilities.jl/src/krylov_phiv.jl
Lines 82 to 85 in 5460b95
but the efficient
eigen!
for SymTridiagonal matrices only works for reals (see JuliaLang/julia@fc4c69d) so you get this error:In the
expv!
code for complext
, there is this line:ExponentialUtilities.jl/src/krylov_phiv.jl
Line 116 in 5460b95
which just takes the real part to make it work, but this seems bad... how do you know the matrix is actually real?
Related: SciML/OrdinaryDiffEq.jl#1447 (comment)
The text was updated successfully, but these errors were encountered: