Skip to content

Commit c76ead0

Browse files
author
oscarddssmith
committed
try the ! version of update_coefficients
1 parent 10f8547 commit c76ead0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/derivative_utils.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -740,9 +740,9 @@ end
740740
W = cache.W
741741
if isnewton(nlsolver)
742742
# we will call `update_coefficients!` for u/p/t in NLNewton
743-
W = update_coefficients(W; transform = W_transform, dtgamma)
743+
W = update_coefficients!(W; transform = W_transform, dtgamma)
744744
else
745-
W = update_coefficients(W, uprev, p, t; transform = W_transform, dtgamma)
745+
W = update_coefficients!(W, uprev, p, t; transform = W_transform, dtgamma)
746746
end
747747
if W.J !== nothing
748748
J = islin ? (isode ? f.f : f.f1.f) : calc_J(integrator, cache, next_step)

0 commit comments

Comments
 (0)