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
julia> D =Diagonal(Int[])
0x0 Diagonal{Int64}
julia> D[-1]
ERROR: integer division error
in getindex at linalg/diagonal.jl:30
julia> D[-1,-1]
ERROR:BoundsError()
in getindex at linalg/diagonal.jl:26
julia> D[1,1
]
ERROR:BoundsError()
in getindex at linalg/diagonal.jl:26
julia> D[2]
ERROR: integer division error
in getindex at linalg/diagonal.jl:30
julia> D[1,-1]
0
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: