Skip to content

Force fields to have the same eltype #10

@gdalle

Description

@gdalle

In the following struct for example

struct DeviceSparseMatrixCSR{
    Tv,
    Ti<:Integer,
    RowPtrT<:AbstractVector,
    ColValT<:AbstractVector,
    NzValT<:AbstractVector,
} <: AbstractDeviceSparseMatrix{Tv,Ti}

is there a reason not to have

RowPtrT<:AbstractVector{Ti}
ColValT<:AbstractVector{Ti}
NzValT<:AbstractVector{Tv}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions