Skip to content

Generalize ProjTTNSum, replace ProjTTNApply with ProjOuterProdTTN #288

Generalize ProjTTNSum, replace ProjTTNApply with ProjOuterProdTTN

Generalize ProjTTNSum, replace ProjTTNApply with ProjOuterProdTTN #288

Triggered via pull request February 1, 2024 00:02
Status Failure
Total duration 1m 9s
Artifacts

format_suggestions.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

1 error and 6 warnings
format
Process completed with exit code 1.
format: src/treetensornetworks/projttns/projttnsum.jl#L5
[JuliaFormatter] reported by reviewdog 🐶 Raw Output: src/treetensornetworks/projttns/projttnsum.jl:5:- pm::Vector{T} where T src/treetensornetworks/projttns/projttnsum.jl:5:+ pm::Vector{T} where {T}
format: src/treetensornetworks/projttns/projttnsum.jl#L16
[JuliaFormatter] reported by reviewdog 🐶 Raw Output: src/treetensornetworks/projttns/projttnsum.jl:16:-function ProjTTNSum(init_states::Vector{<:TTN},ttnos::Vector{<:TTN}) src/treetensornetworks/projttns/projttnsum.jl:17:- return ProjTTNSum([ProjTTNApply(state,operator) for (state,operator) in zip(init_states,ttnos)]) src/treetensornetworks/projttns/projttnsum.jl:16:+function ProjTTNSum(init_states::Vector{<:TTN}, ttnos::Vector{<:TTN}) src/treetensornetworks/projttns/projttnsum.jl:17:+ return ProjTTNSum([ src/treetensornetworks/projttns/projttnsum.jl:18:+ ProjTTNApply(state, operator) for (state, operator) in zip(init_states, ttnos) src/treetensornetworks/projttns/projttnsum.jl:19:+ ])
format: src/treetensornetworks/projttns/projttnsum.jl#L21
[JuliaFormatter] reported by reviewdog 🐶 Raw Output: src/treetensornetworks/projttns/projttnsum.jl:21:-ProjTTNSum(Ms::TTN{V}...) where {V} = ProjTTNSum([Ms...]) src/treetensornetworks/projttns/projttnsum.jl:23:+ProjTTNSum(Ms::TTN{V}...) where {V} = ProjTTNSum([Ms...])
format: src/treetensornetworks/projttns/projttnsum.jl#L62
[JuliaFormatter] reported by reviewdog 🐶 Raw Output: src/treetensornetworks/projttns/projttnsum.jl:62:-function position( src/treetensornetworks/projttns/projttnsum.jl:63:- P::ProjTTNSum, psi::TTN, pos src/treetensornetworks/projttns/projttnsum.jl:64:-) src/treetensornetworks/projttns/projttnsum.jl:64:+function position(P::ProjTTNSum, psi::TTN, pos)
format
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, julia-actions/setup-julia@latest. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
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/