In #411 and related triage, discussion settled on returning SparseVector from diag(A::SparseMatrixCSC) and diag(A::SparseMatrixCSC, k::Integer). JuliaLang/julia#23261 implemented that behavior. In contrast, the diag specializations for structured matrices still return Vector. Should this discrepancy be remedied, or should diag continue to return Vector for structured matrices?r Best!