Skip to content

define eltype #2

@gvdr

Description

@gvdr

Amazing work here!

Trying to make CarouselArrays work with DifferentialEquations.jl I noticed eltype(u::CarouselArray{T}) returns Any instead of T. Is this behaviour wanted?

If not, and unless I'm missing something, the thing is fixable by exporting:

Base.eltype(cararr::CarouselArray{T}) where {T} = T

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions