Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERROR: MethodError: no method matching iterate(::Nothing) #344

Open
jishnub opened this issue Mar 18, 2024 · 0 comments
Open

ERROR: MethodError: no method matching iterate(::Nothing) #344

jishnub opened this issue Mar 18, 2024 · 0 comments

Comments

@jishnub
Copy link

jishnub commented Mar 18, 2024

julia> using BlockBandedMatrices, LinearAlgebra

julia> @enter BlockSkylineMatrix{Bool}(I, 1:1, 1:4, ([0,0,0,0],[0,1,1,1]));
In BlockSkylineMatrix(A, rdims, cdims, lu) at /home/jishnu/.julia/packages/BlockBandedMatrices/8oK1s/src/BlockSkylineMatrix.jl:264
>264  BlockSkylineMatrix{T}(A::Union{AbstractMatrix,UniformScaling},
 265                             rdims::AbstractVector{Int}, cdims::AbstractVector{Int}, lu::NTuple{2,AbstractVector{Int}}) where T =
 266                                 BlockSkylineMatrix{T}(A, BlockSkylineSizes(rdims, cdims, lu...))

About to run: (Core.apply_type)(BlockSkylineMatrix, Bool)
1|debug> sl
ERROR: MethodError: no method matching iterate(::Nothing)

Closest candidates are:
  iterate(::Base.AsyncGenerator, ::Base.AsyncGeneratorState)
   @ Base asyncmap.jl:362
  iterate(::Base.AsyncGenerator)
   @ Base asyncmap.jl:362
  iterate(::Pkg.Registry.RegistryInstance)
   @ Pkg ~/.julia/juliaup/julia-1.10.2+0.x64.linux.gnu/share/julia/stdlib/v1.10/Pkg/src/Registry/registry_instance.jl:455
  ...

Stacktrace:
 [1] (BlockSkylineMatrix{Bool, DATA} where DATA<:AbstractVector{Bool})(A::UniformScaling{Bool}, rdims::UnitRange{Int64}, cdims::UnitRange{Int64}, lu::Tuple{Vector{Int64}, Vector{Int64}})
   @ BlockBandedMatrices ~/.julia/packages/BlockBandedMatrices/8oK1s/src/BlockSkylineMatrix.jl:264

This is using BlockBandedMatrices v0.12.10, and Debugger v0.7.8 on Julia v1.10.2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant