Skip to content

BoundsError in map2salm! #59

Description

@inkydragon
# Julia v1.12 (LTS)
julia --check-bounds=yes

] add SphericalFunctions
test SphericalFunctions

Be careful with @inbounds

        Info Packages marked with ⌃ and ⌅ have new versions available. Those with ⌃ may be upgradable, but those with ⌅ are restricted by compatibility constraints from upgrading.
Precompiling for configuration --code-coverage=none --color=yes --check-bounds=yes --warn-overwrite=yes --depwarn=yes --inline=yes --startup-file=no --track-allocation=none
Precompiling packages finished.
  16 dependencies successfully precompiled in 17 seconds. 154 already precompiled.
     Testing Running tests...
map2salm: Error During Test at /home/cyhan/.julia/packages/SphericalFunctions/5S0oJ/test/map2salm.jl:23
  Got exception outside of a @test
  LoadError: TaskFailedException
  
      nested task error: BoundsError: attempt to access 1-element Vector{Vector{Complex{BigFloat}}} at index [2]
      Stacktrace:
       [1] throw_boundserror(A::Vector{Vector{Complex{BigFloat}}}, I::Tuple{Int64})
         @ Base ./essentials.jl:15
       [2] getindex
         @ ./essentials.jl:919 [inlined]
       [3] macro expansion
         @ ~/.julia/packages/SphericalFunctions/5S0oJ/src/map2salm.jl:116 [inlined]
       [4] (::SphericalFunctions.var"#map2salm!##0#map2salm!##1"{SphericalFunctions.var"#map2salm!##2#map2salm!##3"{BigFloat, Matrix{Complex{BigFloat}}, Array{Complex{BigFloat}, 3}, Int64, Int64, Int64, Vector{Vector{Complex{BigFloat}}}, Int64, Vector{BigFloat}, Vector{BigFloat}, Int64, Nothing, ProgressMeter.Progress, Int64, Int64, Vector{Tuple{Int64}}}})(tid::Int64; onethread::Bool)
         @ SphericalFunctions ./threadingconstructs.jl:276

ref: https://s3.amazonaws.com/julialang-reports/nanosoldier/pkgeval/by_date/2026-02/14/SphericalFunctions.primary.log

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions