Skip to content

Commit

Permalink
BandedMatrices 0.13 support (#46)
Browse files Browse the repository at this point in the history
  • Loading branch information
dlfivefifty authored Oct 27, 2019
1 parent 78c72fa commit 7549032
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Statistics = "10745b16-79ce-11e8-11f9-7d13ad32a3b2"
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"

[compat]
BandedMatrices = "0.12"
BandedMatrices = "0.12, 0.13"
BlockArrays = "0.10"
FillArrays = "0.7"
LazyArrays = "0.12"
Expand Down
2 changes: 1 addition & 1 deletion src/BlockSkylineMatrix.jl
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ checkbandwidths(N, M, l::AbstractVector{Int}, u::AbstractVector{Int}) =
function bb_blockstarts(b_size, l::AbstractVector{Int}, u::AbstractVector{Int})
N,M = nblocks(b_size)
L,U = maximum(l), maximum(u)
b_start = BandedMatrix{Int}(undef, N, M, L, U)
b_start = BandedMatrix{Int}(undef, (N, M), (L, U))
-L > U && return b_start

checkbandwidths(N, M, l, u)
Expand Down

0 comments on commit 7549032

Please sign in to comment.