Skip to content

Handling wrapped arrays #47

Open
Open
@ChrisRackauckas

Description

@ChrisRackauckas

Today I gave up on something...

    function DiffEqBase.get_tmp(dc::DiffEqBase.DiffCache, u::LabelledArrays.LArray{T,N,D,Syms}) where {T,N,D,Syms}
      x = reinterpret(T, dc.dual_du.__x)
      LArray{T,N,D,Syms}(x)
    end

we need a better way to handle things like reinterpret and reshape on array types that are actually just wrapping another array type.

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