Skip to content

Fix ApplyStyle for restricted bases #3

@jagot

Description

@jagot

R*c where R is a restricted basis will by default use LazyArrays.FlattenMulStyle, e.g.

julia> typeof(applied(*, R, cf))
Applied{LazyArrays.FlattenMulStyle,typeof(*),Tuple{QuasiArrays.SubQuasiArray{Float64,2,FEDVR{Float64,Float64,Fill{Int64,1,Tuple{Base.OneTo{Int64}}}},Tuple{Inclusion{Float64,Interval{:closed,:closed,Float64}},UnitRange{Int64}},false},Array{Float64,1}}}

which will result in dropping the restriction and padding the coefficient vector by zeroes, which we do not want.

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