Skip to content

axes for conv of OffsetArrays seems off #504

Open
@jishnub

Description

julia> a = 1:2
1:2

julia> conv(a, a)
3-element Vector{Int64}:
 1
 4
 4

julia> conv(OffsetArray(a), OffsetArray(a))
3-element OffsetArray(::Vector{Int64}, 2:4) with eltype Int64 with indices 2:4:
 1
 4
 4

julia> a == OffsetArray(a)
true

julia> conv(a, a) == conv(OffsetArray(a), OffsetArray(a))
false

I'm unsure what's the axis logic here, but it'll be good for this to be consistent.

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