Skip to content

Fermionic OpSum to TTN constructor #255

Fermionic OpSum to TTN constructor

Fermionic OpSum to TTN constructor #255

Triggered via pull request January 21, 2024 18:19
Status Failure
Total duration 1m 18s
Artifacts

format_suggestions.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

1 error and 7 warnings
format
Process completed with exit code 1.
format: src/models.jl#L4
[JuliaFormatter] reported by reviewdog 🐶 Raw Output: src/models.jl:4:-function nth_nearest_neighbors(g,v,n::Int) #ToDo: Add test for this. src/models.jl:5:- if n>=2 src/models.jl:6:- return setdiff(neighborhood(g, v, n), union(neighborhood(g, v, n-1),neighborhood(g, v, n-2))) src/models.jl:4:+function nth_nearest_neighbors(g, v, n::Int) #ToDo: Add test for this. src/models.jl:5:+ if n >= 2 src/models.jl:6:+ return setdiff( src/models.jl:7:+ neighborhood(g, v, n), union(neighborhood(g, v, n - 1), neighborhood(g, v, n - 2)) src/models.jl:8:+ )
format: src/models.jl#L12
[JuliaFormatter] reported by reviewdog 🐶 Raw Output: src/models.jl:12:-next_nearest_neighbors(g,v) = nth_nearest_neighbors(g,v,2) src/models.jl:14:+next_nearest_neighbors(g, v) = nth_nearest_neighbors(g, v, 2)
format: src/models.jl#L26
[JuliaFormatter] reported by reviewdog 🐶 Raw Output: src/models.jl:26:- for nn in next_nearest_neighbors(g,v) src/models.jl:28:+ for nn in next_nearest_neighbors(g, v)
format: src/models.jl#L57
[JuliaFormatter] reported by reviewdog 🐶 Raw Output: src/models.jl:57:- for nn in next_nearest_neighbors(g,v) src/models.jl:59:+ for nn in next_nearest_neighbors(g, v)
format: src/models.jl#L91
[JuliaFormatter] reported by reviewdog 🐶 Raw Output: src/models.jl:91:- for nn in next_nearest_neighbors(g,v) src/models.jl:93:+ for nn in next_nearest_neighbors(g, v)
format: src/models.jl#L119
[JuliaFormatter] reported by reviewdog 🐶 Raw Output: src/models.jl:119:- for nn in next_nearest_neighbors(g,v) src/models.jl:121:+ for nn in next_nearest_neighbors(g, v)
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/