Skip to content

Commit

Permalink
make space for eigenvectors complex valued
Browse files Browse the repository at this point in the history
  • Loading branch information
Jutho committed Oct 23, 2018
1 parent 0c55176 commit ec79ed2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/eigsolve/arnoldi.jl
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ function eigsolve(A, x₀, howmany::Int, which::Selector, alg::Arnoldi)
[B*v for v in cols(V)]
end
residuals = let r = residual(fact)
[mul!(similar(r), r, last(v)) for v in cols(V)]
[mul!(similar(r, complex(eltype(r))), r, last(v)) for v in cols(V)]
end
normres = [abs(last(v)) for v in cols(V)]

Expand Down

0 comments on commit ec79ed2

Please sign in to comment.