Skip to content

Commit

Permalink
Upper bound diffeqbase and patch bandind error
Browse files Browse the repository at this point in the history
  • Loading branch information
avik-pal committed Dec 19, 2023
1 parent c13855d commit 12753bc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Project.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name = "BoundaryValueDiffEq"
uuid = "764a87c0-6b3e-53db-9096-fe964310641d"
version = "5.6.0"
version = "5.6.1"

[deps]
ADTypes = "47edcb42-4c32-4615-8424-f2b9edc5f35b"
Expand Down Expand Up @@ -42,7 +42,7 @@ Aqua = "0.7"
ArrayInterface = "7"
BandedMatrices = "1"
ConcreteStructs = "0.2"
DiffEqBase = "6.138"
DiffEqBase = "6.138 - 6.143"
FastAlmostBandedMatrices = "0.1"
ForwardDiff = "0.10"
LinearAlgebra = "1.9"
Expand Down
2 changes: 1 addition & 1 deletion src/sparse_jacobians.jl
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ function __generate_sparse_jacobian_prototype(::MIRKCache, ::StandardBVProblem,
N)
fast_scalar_indexing(ya) ||
error("Sparse Jacobians are only supported for Fast Scalar Index-able Arrays")
J_c = BandedMatrix(Ones{eltype(ya)}(M * (N - 1), M * N), (1, 2M))
J_c = BandedMatrix(Ones{eltype(ya)}(M * (N - 1), M * N), (1, 2M - 1))
return ColoredMatrix(J_c, matrix_colors(J_c'), matrix_colors(J_c))
end

Expand Down

0 comments on commit 12753bc

Please sign in to comment.