Skip to content

Use arrays instead of tuples #173

Use arrays instead of tuples

Use arrays instead of tuples #173

Triggered via pull request November 4, 2024 21:18
@agdesteinagdestein
synchronize #102
use-array
Status Success
Total duration 6m 54s
Artifacts

Documentation.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

1 error and 10 warnings
Documentation: ../../../.julia/packages/BibInternal/2EG8G/src/bibtex.jl#L89
Entry Agdestein2024 is missing the journal field(s).
Documentation: ../../../.julia/packages/Documenter/C1XEF/src/utilities/utilities.jl#L46
failed to run `@example` block in src/examples/generated/TaylorGreenVortex2D.md:81-93 ```@example TaylorGreenVortex2D Re = 2.0e3 nlist = [2, 4, 8, 16, 32, 64, 128, 256] e = compute_convergence(; D = 2, nlist, lims = (0.0, 2π), Re, tlims = (0.0, 2.0), Δt = 0.01, uref = solution(Re), ) ``` exception = MethodError: no method matching getindex(::Float64, ::CartesianIndices{2, Tuple{UnitRange{Int64}, UnitRange{Int64}}}) The function `getindex` exists, but no method is defined for this combination of argument types. Closest candidates are: getindex(::Number, !Matched::Integer) @ Base number.jl:96 getindex(::Number) @ Base number.jl:95 getindex(::Number, !Matched::Integer...) @ Base number.jl:101 ... Stacktrace: [1] compute_convergence(; D::Int64, nlist::Vector{Int64}, lims::Tuple{Float64, Float64}, Re::Float64, tlims::Tuple{Float64, Float64}, Δt::Float64, uref::Function, backend::CPU) @ Main.__atexample__named__TaylorGreenVortex2D ./TaylorGreenVortex2D.md:63 [2] top-level scope @ TaylorGreenVortex2D.md:84 [3] eval @ ./boot.jl:430 [inlined] [4] #60 @ ~/.julia/packages/Documenter/C1XEF/src/expander_pipeline.jl:754 [inlined] [5] cd(f::Documenter.var"#60#62"{Module, Expr}, dir::String) @ Base.Filesystem ./file.jl:112 [6] (::Documenter.var"#59#61"{Documenter.Page, Module, Expr})() @ Documenter ~/.julia/packages/Documenter/C1XEF/src/expander_pipeline.jl:753 [7] (::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 [8] 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 [9] with_logger(f::Function, logger::Base.CoreLogging.ConsoleLogger) @ Base.CoreLogging ./logging/logging.jl:632 [10] 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 [11] 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: ../../../.julia/packages/Documenter/C1XEF/src/utilities/utilities.jl#L46
failed to run `@example` block in src/examples/generated/TaylorGreenVortex2D.md:97-111 ```@example TaylorGreenVortex2D fig = Figure() ax = Axis( fig[1, 1]; xscale = log10, yscale = log10, xticks = nlist, xlabel = "n", title = "Relative error", ) scatterlines!(ax, nlist, e; label = "Data") lines!(ax, collect(extrema(nlist)), n -> n^-2.0; linestyle = :dash, label = "n^-2") axislegend(ax) fig ``` exception = UndefVarError: `e` not defined in `Main.__atexample__named__TaylorGreenVortex2D` Suggestion: check for spelling errors or missing imports. Stacktrace: [1] top-level scope @ TaylorGreenVortex2D.md:107 [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: ../../../.julia/packages/Documenter/C1XEF/src/utilities/utilities.jl#L46
no docs found for 'CPU' in `@docs` block in src/manual/setup.md:26-28 ```@docs CPU ```
Documentation: ../../../.julia/packages/Documenter/C1XEF/src/utilities/utilities.jl#L46
Cannot resolve @ref for md"[`CPU`](@ref)" in src/about/index.md. - No docstring found in doc for binding `KernelAbstractions.CPU`. - No docstring found in doc for binding `KernelAbstractions.CPU`.
Documentation: ../../../.julia/packages/DocumenterVitepress/8qgu7/src/writer.jl#L702
DocumenterVitepress: un-expanded `@example TaylorGreenVortex2D` block encountered on page src/examples/generated/TaylorGreenVortex2D.md. The first few lines of code in this node are: ``` Re = 2.0e3 nlist = [2, 4, 8, 16, 32, 64, 128, 256] e = compute_convergence(; D = 2, nlist, lims = (0.0, 2π), ```
Documentation: ../../../.julia/packages/DocumenterVitepress/8qgu7/src/writer.jl#L702
DocumenterVitepress: un-expanded `@example TaylorGreenVortex2D` block encountered on page src/examples/generated/TaylorGreenVortex2D.md. The first few lines of code in this node are: ``` fig = Figure() ax = Axis( fig[1, 1]; xscale = log10, yscale = log10, xticks = nlist, ```
Documentation: ../../../.julia/packages/Documenter/C1XEF/src/deploydocs.jl#L533
removing `stable` and linking `stable` to `v1.0.0`.
Documentation: ../../../.julia/packages/Documenter/C1XEF/src/deploydocs.jl#L533
removing `v1.0` and linking `v1.0` to `v1.0.0`.
Documentation: ../../../.julia/packages/Documenter/C1XEF/src/deploydocs.jl#L533
removing `v0.6` and linking `v0.6` to `v0.6.1`.
Documentation: ../../../.julia/packages/Documenter/C1XEF/src/deploydocs.jl#L533
removing `v0.5` and linking `v0.5` to `v0.5.0`.