Skip to content

SparseAxisArray does not implement size #2117

@matbesancon

Description

@matbesancon

As an AbstractArray, size should be defined for SparseAxisArray and return an N-sized tuple.
The error is raised when collecting a SparseAxisArray for example.

MethodError: no method matching size(::JuMP.Containers.SparseAxisArray{Float64,2,Tuple{Any,Any}})

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions