You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Concatenation of a sparse and a dense array usually makes a sparse array. This fails completely when the resulting eltype cannot be used for a sparse array:
Should the sparse methods be restricted to T<:Number? Then I believe this would call the dense one. But perhaps Number is too narrow, e.g. using StaticArrays; hcat(sparse([SA[1,2], SA[0,0]]))?
Concatenation of a sparse and a dense array usually makes a sparse array. This fails completely when the resulting eltype cannot be used for a sparse array:
Should the sparse methods be restricted to
T<:Number
? Then I believe this would call the dense one. But perhapsNumber
is too narrow, e.g.using StaticArrays; hcat(sparse([SA[1,2], SA[0,0]]))
?Xref JuliaLang/julia#2326 for discussion of more elaborate promotion schemes.
The text was updated successfully, but these errors were encountered: