Skip to content

Use Observer for output #93

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

Merged
merged 18 commits into from
Jul 11, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Rename update_sweep to default_sweep_regions
  • Loading branch information
emstoudenmire committed Jun 20, 2023
commit 2042fda055b6715ba1fb34262d9054c23b5e77ec
4 changes: 2 additions & 2 deletions src/treetensornetworks/solvers/update_step.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

function update_sweep(nsite, graph::AbstractGraph; kwargs...)
function default_sweep_regions(nsite, graph::AbstractGraph; kwargs...)
return vcat(
[
half_sweep(
Expand Down Expand Up @@ -49,7 +49,7 @@ function update_step(
step_printer=step_printer,
(step_observer!)=observer(),
sweep::Int=1,
sweep_regions=update_sweep(nsite, psi),
sweep_regions=default_sweep_regions(nsite, psi),
kwargs...,
)
info = nothing
Expand Down