Skip to content

Commit

Permalink
Merge c66b6fc into 4b3df43
Browse files Browse the repository at this point in the history
  • Loading branch information
dlfivefifty committed Jun 18, 2018
2 parents 4b3df43 + c66b6fc commit d006c0e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion REQUIRE
Expand Up @@ -3,4 +3,4 @@ DiffEqBase
Reexport
NLsolve 0.14.0
DiffEqDiffTools 0.2.0
BandedMatrices
BandedMatrices 0.4
2 changes: 1 addition & 1 deletion src/jacobian.jl
Expand Up @@ -14,7 +14,7 @@ function ConstructJacobian(f!::BVPJacobianWrapper, S::BVPSystem, y)
f!(F,x)
end
j!(J, x::Array) = (F = jac_cache.fx; fj!(F, J, x))
J0 = bzeros(eltype(S.y[1]), S.M*S.N, S.M*S.N, S.M-1, S.M-1)
J0 = BandedMatrix(Zeros{eltype(S.y[1])}(S.M*S.N, S.M*S.N), (S.M-1, S.M-1))
NLsolve.OnceDifferentiable(f!.loss, j!, fj!, jac_cache.x1, jac_cache.fx, sparse(J0))
end

Expand Down

0 comments on commit d006c0e

Please sign in to comment.