Skip to content

Commit e61cd05

Browse files
fix linsolve usage in skencarp
1 parent 4c67129 commit e61cd05

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/perform_step/kencarp.jl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,9 @@ end
290290
@.. g1 = btilde1*z₁ + btilde2*z₂ + btilde3*z₃ + btilde4*z₄
291291
end
292292
if alg.smooth_est # From Shampine
293-
nlsolver.cache.linsolve(vec(E₁),OrdinaryDiffEq.get_W(nlsolver),vec(g1),false)
293+
linres = OrdinaryDiffEq.dolinsolve(integrator, nlsolver.cache.linsolve;
294+
b = OrdinaryDiffEq._vec(g1),
295+
u = OrdinaryDiffEq._vec(E₁))
294296
else
295297
E₁ .= dz
296298
end

0 commit comments

Comments
 (0)