Skip to content

Commit 91315d1

Browse files
committed
use new_u0
1 parent a5305e5 commit 91315d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/LinearSolveForwardDiffExt.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ function SciMLBase.init(
142142
∂_b = partial_vals(b)
143143
dual_u0 = partial_vals(u0)
144144

145-
newprob = remake(prob; A = new_A, b = new_b)
145+
newprob = remake(prob; A = new_A, b = new_b, u0 = new_u0)
146146

147147
non_partial_cache = init(
148148
newprob, alg, args...; alias = alias, abstol = abstol, reltol = reltol,

0 commit comments

Comments
 (0)