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
The broadcast methods specialized for unary operations over SparseMatrixCSCs assume that the input matrix's element type is appropriate for the returned matrix (e.g. here). This assumption causes, for example,
julia>VERSIONv"0.6.0-dev.979"
julia>sin.(speye(Int, 4))
ERROR:InexactError()
inconvert(::Type{Int64}, ::Float64) at ./float.jl:637in_broadcast_unary_nz2z_z2z_T(::Base.#sin, ::SparseMatrixCSC{Int64,Int64}, ::Type{Int64}) at ./sparse/sparsematrix.jl:1425inbroadcast(::Base.#sin, ::SparseMatrixCSC{Int64,Int64}) at ./sparse/sparsematrix.jl:1403
Best!
The text was updated successfully, but these errors were encountered:
The
broadcast
methods specialized for unary operations overSparseMatrixCSC
s assume that the input matrix's element type is appropriate for the returned matrix (e.g. here). This assumption causes, for example,Best!
The text was updated successfully, but these errors were encountered: