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
To make the MWE below work I have to call D = BlockDiagonal([Dbv[1], Dbv[2], Dbv[3]]) instead of D = BlockDiagonal(Dbv):
using BandedMatrices
using BlockDiagonals
ix = [9, 16, 22]
Dbv = []
iold = 0
for i in ix
Db = BandedMatrix{Float64}(undef, (i-iold-1, i-iold), (0,1))
Db[band(0)] .= -1
Db[band(1)] .= 1
iold = i
push!(Dbv, copy(Db))
end
To make the MWE below work I have to call
D = BlockDiagonal([Dbv[1], Dbv[2], Dbv[3]])
instead ofD = BlockDiagonal(Dbv)
:The text was updated successfully, but these errors were encountered: