When a space X has no active cells, some assemble methode throw an exemption. This exemption is not informative, the problem lies with no active cell but the exeption says MethodError: no method matching iterate(::Nothing),
following function call and function is the cause of the exemption:
|
tels, tad = assemblydata(tfs) |
|
function assemblydata(basis::Space; onlyactives=true) |
It is maybe better to directly throw an exemption, that gives the information.
Or an empty list could be returnd and let the function that calls assemblydata handle the case if there are no active cell.
When a space X has no active cells, some assemble methode throw an exemption. This exemption is not informative, the problem lies with no active cell but the exeption says MethodError: no method matching iterate(::Nothing),
following function call and function is the cause of the exemption:
BEAST.jl/src/localop.jl
Line 303 in 472a1e6
BEAST.jl/src/bases/basis.jl
Line 222 in 472a1e6
It is maybe better to directly throw an exemption, that gives the information.
Or an empty list could be returnd and let the function that calls assemblydata handle the case if there are no active cell.