Skip to content

Refactor interfaces built around alternating update #232

Refactor interfaces built around alternating update

Refactor interfaces built around alternating update #232

Triggered via pull request January 11, 2024 22:33
Status Failure
Total duration 1m 15s
Artifacts

format_suggestions.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

1 error and 9 warnings
format
Process completed with exit code 1.
format: src/treetensornetworks/solvers/tdvp.jl#L20
[JuliaFormatter] reported by reviewdog 🐶 Raw Output: src/treetensornetworks/solvers/tdvp.jl:20:- H=PH_ref![] ###since we are not changing H we don't need the copy src/treetensornetworks/solvers/tdvp.jl:20:+ H = PH_ref![] ###since we are not changing H we don't need the copy
format: src/treetensornetworks/solvers/tdvp.jl#L23
[JuliaFormatter] reported by reviewdog 🐶 Raw Output: src/treetensornetworks/solvers/tdvp.jl:23:- region_ind=sweep_step src/treetensornetworks/solvers/tdvp.jl:24:- next_region=region_ind==length(sweep_regions) ? nothing : first(sweep_regions[region_ind+1]) src/treetensornetworks/solvers/tdvp.jl:25:- previous_region=region_ind==1 ? nothing : first(sweep_regions[region_ind-1]) src/treetensornetworks/solvers/tdvp.jl:26:- src/treetensornetworks/solvers/tdvp.jl:23:+ region_ind = sweep_step src/treetensornetworks/solvers/tdvp.jl:24:+ next_region = src/treetensornetworks/solvers/tdvp.jl:25:+ region_ind == length(sweep_regions) ? nothing : first(sweep_regions[region_ind + 1]) src/treetensornetworks/solvers/tdvp.jl:26:+ previous_region = region_ind == 1 ? nothing : first(sweep_regions[region_ind - 1]) src/treetensornetworks/solvers/tdvp.jl:27:+
format: src/treetensornetworks/solvers/tdvp.jl#L59
[JuliaFormatter] reported by reviewdog 🐶 Raw Output: src/treetensornetworks/solvers/tdvp.jl:59:- H=PH_ref![] src/treetensornetworks/solvers/tdvp.jl:60:+ H = PH_ref![]
format: src/treetensornetworks/solvers/update_step.jl#L187
[JuliaFormatter] reported by reviewdog 🐶 Raw Output: src/treetensornetworks/solvers/update_step.jl:187:- phi, info = solver(phi;(psi_ref!),(PH_ref!), normalize, region, sweep_regions, sweep_step, step_kwargs..., solver_kwargs...) # args passed by reference are supposed to be modified out of place src/treetensornetworks/solvers/update_step.jl:187:+ phi, info = solver( src/treetensornetworks/solvers/update_step.jl:188:+ phi; src/treetensornetworks/solvers/update_step.jl:189:+ (psi_ref!), src/treetensornetworks/solvers/update_step.jl:190:+ (PH_ref!), src/treetensornetworks/solvers/update_step.jl:191:+ normalize, src/treetensornetworks/solvers/update_step.jl:192:+ region, src/treetensornetworks/solvers/update_step.jl:193:+ sweep_regions, src/treetensornetworks/solvers/update_step.jl:194:+ sweep_step, src/treetensornetworks/solvers/update_step.jl:195:+ step_kwargs..., src/treetensornetworks/solvers/update_step.jl:196:+ solver_kwargs..., src/treetensornetworks/solvers/update_step.jl:197:+ ) # args passed by reference are supposed to be modified out of place
format: test/test_treetensornetworks/test_solvers/test_tdvp.jl#L166
[JuliaFormatter] reported by reviewdog 🐶 Raw Output: test/test_treetensornetworks/test_solvers/test_tdvp.jl:166:- function solver(psi0; (psi_ref!),(PH_ref!), time_step, kwargs...) test/test_treetensornetworks/test_solvers/test_tdvp.jl:166:+ function solver(psi0; (psi_ref!), (PH_ref!), time_step, kwargs...)
format: test/test_treetensornetworks/test_solvers/test_tdvp.jl#L170
[JuliaFormatter] reported by reviewdog 🐶 Raw Output: test/test_treetensornetworks/test_solvers/test_tdvp.jl:170:- PH=PH_ref![] test/test_treetensornetworks/test_solvers/test_tdvp.jl:170:+ PH = PH_ref![]
format: test/test_treetensornetworks/test_solvers/test_tdvp.jl#L555
[JuliaFormatter] reported by reviewdog 🐶 Raw Output: test/test_treetensornetworks/test_solvers/test_tdvp.jl:555:- function solver(psi0; (psi_ref!),(PH_ref!), time_step, kwargs...) test/test_treetensornetworks/test_solvers/test_tdvp.jl:555:+ function solver(psi0; (psi_ref!), (PH_ref!), time_step, kwargs...)
format: test/test_treetensornetworks/test_solvers/test_tdvp.jl#L559
[JuliaFormatter] reported by reviewdog 🐶 Raw Output: test/test_treetensornetworks/test_solvers/test_tdvp.jl:559:- PH=PH_ref![] test/test_treetensornetworks/test_solvers/test_tdvp.jl:559:+ PH = PH_ref![]
format
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/