Skip to content

[NDTensors] In the effort to replace EmptyStorage with an empty DataType #1295

[NDTensors] In the effort to replace EmptyStorage with an empty DataType

[NDTensors] In the effort to replace EmptyStorage with an empty DataType #1295

Triggered via pull request September 19, 2023 20:05
Status Failure
Total duration 1m 52s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

format_suggestions.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

1 error and 4 warnings
format
Process completed with exit code 1.
format: src/itensor/itensor.jl#L226
[JuliaFormatter] reported by reviewdog 🐶 Raw Output: src/itensor/itensor.jl:226:- return hasqns(inds) ? ITensors.QNITensor(as, elt, data, inds) : ITensor(as, NDTensors.default_storagetype(typeof(data), inds)(data), inds) src/itensor/itensor.jl:226:+ return if hasqns(inds) src/itensor/itensor.jl:227:+ ITensors.QNITensor(as, elt, data, inds) src/itensor/itensor.jl:228:+ else src/itensor/itensor.jl:229:+ ITensor(as, NDTensors.default_storagetype(typeof(data), inds)(data), inds) src/itensor/itensor.jl:230:+ end
format: src/itensor/itensor.jl#L257
[JuliaFormatter] reported by reviewdog 🐶 Raw Output: src/itensor/itensor.jl:257:- return hasqns(inds) ? ITensors.QNITensor(as, ElT, A, indices(is...)) : ITensor(as, ElT, A, inds; kwargs...) src/itensor/itensor.jl:261:+ return if hasqns(inds) src/itensor/itensor.jl:262:+ ITensors.QNITensor(as, ElT, A, indices(is...)) src/itensor/itensor.jl:263:+ else src/itensor/itensor.jl:264:+ ITensor(as, ElT, A, inds; kwargs...) src/itensor/itensor.jl:265:+ end
format: src/itensor/qnitensor.jl#L377
[JuliaFormatter] reported by reviewdog 🐶 Raw Output: src/itensor/qnitensor.jl:377:- t = NDTensors.dropzeros(tensor(T); tol = tol) src/itensor/qnitensor.jl:377:+ t = NDTensors.dropzeros(tensor(T); tol=tol)
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/