Skip to content

Assemble of empty spaces #198

Description

@bboeyken

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.

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