Skip to content

Replace hard-coded truncate! threshold with the epsilon value of the chain's eltype #941

Replace hard-coded truncate! threshold with the epsilon value of the chain's eltype

Replace hard-coded truncate! threshold with the epsilon value of the chain's eltype #941

Triggered via pull request October 18, 2024 13:52
Status Success
Total duration 20m 25s
Artifacts

CI.yml

on: pull_request
Matrix: Documentation
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

13 warnings
Documentation (1, ubuntu-latest, x64): ../../../.julia/packages/Documenter/C1XEF/src/utilities/utilities.jl#L46
failed to run `@example` block in src/ansatz/chain.md:18-31 ```@example viz fig = Figure() # hide tn_open = rand(MatrixProduct{State,Open}, n=10, χ=4) # hide tn_periodic = rand(MatrixProduct{State,Periodic}, n=10, χ=4) # hide plot!(fig[1,1], tn_open, layout=Spring(iterations=1000, C=0.5, seed=100)) # hide plot!(fig[1,2], tn_periodic, layout=Spring(iterations=1000, C=0.5, seed=100)) # hide Label(fig[1,1, Bottom()], "Open") # hide Label(fig[1,2, Bottom()], "Periodic") # hide fig # hide ``` exception = UndefVarError: `MatrixProduct` not defined in `Main.__atexample__named__viz` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ chain.md:21 [2] eval @ ./boot.jl:430 [inlined] [3] #60 @ ~/.julia/packages/Documenter/C1XEF/src/expander_pipeline.jl:754 [inlined] [4] cd(f::Documenter.var"#60#62"{Module, Expr}, dir::String) @ Base.Filesystem ./file.jl:112 [5] (::Documenter.var"#59#61"{Documenter.Page, Module, Expr})() @ Documenter ~/.julia/packages/Documenter/C1XEF/src/expander_pipeline.jl:753 [6] (::IOCapture.var"#5#9"{DataType, Documenter.var"#59#61"{Documenter.Page, Module, Expr}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}})() @ IOCapture ~/.julia/packages/IOCapture/Y5rEA/src/IOCapture.jl:170 [7] with_logstate(f::IOCapture.var"#5#9"{DataType, Documenter.var"#59#61"{Documenter.Page, Module, Expr}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}}, logstate::Base.CoreLogging.LogState) @ Base.CoreLogging ./logging/logging.jl:522 [8] with_logger(f::Function, logger::Base.CoreLogging.ConsoleLogger) @ Base.CoreLogging ./logging/logging.jl:632 [9] capture(f::Documenter.var"#59#61"{Documenter.Page, Module, Expr}; rethrow::Type, color::Bool, passthrough::Bool, capture_buffer::IOBuffer, io_context::Vector{Any}) @ IOCapture ~/.julia/packages/IOCapture/Y5rEA/src/IOCapture.jl:167 [10] runner(::Type{Documenter.Expanders.ExampleBlocks}, node::MarkdownAST.Node{Nothing}, page::Documenter.Page, doc::Documenter.Document) @ Documenter ~/.julia/packages/Documenter/C1XEF/src/expander_pipeline.jl:752
Documentation (1, ubuntu-latest, x64): ../../../.julia/packages/Documenter/C1XEF/src/utilities/utilities.jl#L46
failed to run `@example` block in src/ansatz/chain.md:38-51 ```@example viz fig = Figure() # hide tn_open = rand(MatrixProduct{Operator,Open}, n=10, χ=4) # hide tn_periodic = rand(MatrixProduct{Operator,Periodic}, n=10, χ=4) # hide plot!(fig[1,1], tn_open, layout=Spring(iterations=1000, C=0.5, seed=100)) # hide plot!(fig[1,2], tn_periodic, layout=Spring(iterations=1000, C=0.5, seed=100)) # hide Label(fig[1,1, Bottom()], "Open") # hide Label(fig[1,2, Bottom()], "Periodic") # hide fig # hide ``` exception = UndefVarError: `MatrixProduct` not defined in `Main.__atexample__named__viz` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ chain.md:41 [2] eval @ ./boot.jl:430 [inlined] [3] #60 @ ~/.julia/packages/Documenter/C1XEF/src/expander_pipeline.jl:754 [inlined] [4] cd(f::Documenter.var"#60#62"{Module, Expr}, dir::String) @ Base.Filesystem ./file.jl:112 [5] (::Documenter.var"#59#61"{Documenter.Page, Module, Expr})() @ Documenter ~/.julia/packages/Documenter/C1XEF/src/expander_pipeline.jl:753 [6] (::IOCapture.var"#5#9"{DataType, Documenter.var"#59#61"{Documenter.Page, Module, Expr}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}})() @ IOCapture ~/.julia/packages/IOCapture/Y5rEA/src/IOCapture.jl:170 [7] with_logstate(f::IOCapture.var"#5#9"{DataType, Documenter.var"#59#61"{Documenter.Page, Module, Expr}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}, IOContext{Base.PipeEndpoint}}, logstate::Base.CoreLogging.LogState) @ Base.CoreLogging ./logging/logging.jl:522 [8] with_logger(f::Function, logger::Base.CoreLogging.ConsoleLogger) @ Base.CoreLogging ./logging/logging.jl:632 [9] capture(f::Documenter.var"#59#61"{Documenter.Page, Module, Expr}; rethrow::Type, color::Bool, passthrough::Bool, capture_buffer::IOBuffer, io_context::Vector{Any}) @ IOCapture ~/.julia/packages/IOCapture/Y5rEA/src/IOCapture.jl:167 [10] runner(::Type{Documenter.Expanders.ExampleBlocks}, node::MarkdownAST.Node{Nothing}, page::Documenter.Page, doc::Documenter.Document) @ Documenter ~/.julia/packages/Documenter/C1XEF/src/expander_pipeline.jl:752
Documentation (1, ubuntu-latest, x64): ../../../.julia/packages/Documenter/C1XEF/src/utilities/utilities.jl#L46
undefined binding 'MatrixProduct' in `@docs` block in src/ansatz/chain.md:55-58 ```@docs MatrixProduct MatrixProduct(::Any) ```
Documentation (1, ubuntu-latest, x64): ../../../.julia/packages/Documenter/C1XEF/src/utilities/utilities.jl#L46
undefined binding 'MatrixProduct' in `@docs` block in src/ansatz/chain.md:55-58 ```@docs MatrixProduct MatrixProduct(::Any) ```
Documentation (1, ubuntu-latest, x64): ../../../.julia/packages/Documenter/C1XEF/src/utilities/utilities.jl#L46
no docs found for 'contract(::Tenet.TensorNetwork)' in `@docs` block in src/contraction.md:5-9 ```@docs einexpr(::Tenet.TensorNetwork) contract(::Tenet.TensorNetwork) contract! ```
Documentation (1, ubuntu-latest, x64): ../../../.julia/packages/Documenter/C1XEF/src/utilities/utilities.jl#L46
no docs found for 'Tenet.inds(::Quantum; kwargs...)' in `@docs` block in src/quantum.md:13-16 ```@docs Tenet.inds(::Quantum; kwargs...) Tenet.tensors(::Quantum; kwargs...) ```
Documentation (1, ubuntu-latest, x64): ../../../.julia/packages/Documenter/C1XEF/src/utilities/utilities.jl#L46
no docs found for 'Tenet.tensors(::Quantum; kwargs...)' in `@docs` block in src/quantum.md:13-16 ```@docs Tenet.inds(::Quantum; kwargs...) Tenet.tensors(::Quantum; kwargs...) ```
Documentation (1, ubuntu-latest, x64): ../../../.julia/packages/Documenter/C1XEF/src/utilities/utilities.jl#L46
no docs found for 'inputs' in `@docs` block in src/quantum.md:20-27 ```@docs inputs outputs lanes ninputs noutputs nlanes ```
Documentation (1, ubuntu-latest, x64): ../../../.julia/packages/Documenter/C1XEF/src/utilities/utilities.jl#L46
no docs found for 'outputs' in `@docs` block in src/quantum.md:20-27 ```@docs inputs outputs lanes ninputs noutputs nlanes ```
Documentation (1, ubuntu-latest, x64): ../../../.julia/packages/Documenter/C1XEF/src/utilities/utilities.jl#L46
undefined binding 'lanes' in `@docs` block in src/quantum.md:20-27 ```@docs inputs outputs lanes ninputs noutputs nlanes ```
Julia 1.9 - ubuntu-latest - x64 - pull_request
The following actions use a deprecated Node.js version and will be forced to run on node20: julia-actions/setup-julia@v1, actions/cache@4d4ae6ae148a43d0fd1eda1800170683e9882738, pyTooling/Actions/with-post-step@adef08d3bdef092282614f3b683897cefae82ee3, codecov/codecov-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Julia 1.10 - ubuntu-latest - x64 - pull_request
The following actions use a deprecated Node.js version and will be forced to run on node20: julia-actions/setup-julia@v1, actions/cache@4d4ae6ae148a43d0fd1eda1800170683e9882738, pyTooling/Actions/with-post-step@adef08d3bdef092282614f3b683897cefae82ee3, codecov/codecov-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Julia 1.11 - ubuntu-latest - x64 - pull_request
The following actions use a deprecated Node.js version and will be forced to run on node20: julia-actions/setup-julia@v1, actions/cache@4d4ae6ae148a43d0fd1eda1800170683e9882738, pyTooling/Actions/with-post-step@adef08d3bdef092282614f3b683897cefae82ee3, codecov/codecov-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/