Skip to content

Commit

Permalink
Format.
Browse files Browse the repository at this point in the history
  • Loading branch information
b-kloss committed Jan 21, 2024
1 parent 3d5ade8 commit 64ef223
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
6 changes: 1 addition & 5 deletions src/solvers/eigsolve.jl
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,7 @@ function eigsolve_updater(
(; which_eigval) = updater_kwargs
updater_kwargs = Base.structdiff(updater_kwargs, (; which_eigval=nothing))
vals, vecs, info = eigsolve(
projected_operator![],
init,
howmany,
which_eigval;
updater_kwargs...,
projected_operator![], init, howmany, which_eigval; updater_kwargs...
)
return vecs[1], (; info, eigvals=vals)
end
Expand Down
4 changes: 2 additions & 2 deletions test/test_treetensornetworks/test_solvers/test_tdvp.jl
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ using Test
# Should rotate back to original state:
@test abs(inner(ψ0, ψ2)) > 0.99
end

@testset "Accuracy Test" begin
N = 4
tau = 0.1
Expand Down Expand Up @@ -456,7 +456,7 @@ end
# Should rotate back to original state:
@test abs(inner(ψ0, ψ2)) > 0.99
end

@testset "Accuracy Test" begin
tau = 0.1
ttotal = 1.0
Expand Down

0 comments on commit 64ef223

Please sign in to comment.