Skip to content

Commit e042495

Browse files
committed
typo
1 parent 799f04b commit e042495

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/OrdinaryDiffEqDifferentiation/src/derivative_utils.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -540,7 +540,7 @@ function calc_W!(W, integrator, nlsolver::Union{Nothing, AbstractNLSolver}, cach
540540
if W isa WOperator
541541
if isnewton(nlsolver)
542542
# we will call `update_coefficients!` for u/p/t in NLNewton
543-
update_coefficients!(W, dtgamma)
543+
update_coefficients!(W; dtgamma)
544544
else
545545
update_coefficients!(W, uprev, p, t; dtgamma)
546546
end

test/interface/utility_tests.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ using OrdinaryDiffEq.OrdinaryDiffEqDifferentiation: WOperator, calc_W, calc_W!,
1010
tspan = (0.0, 1.0)
1111
dt = 0.01
1212
dtgamma = 0.5dt
13-
concrete_W = -mm + dtgamma * A
13+
concrete_W = A - inv(dtgamma)*mm
1414

1515
# Out-of-place
1616
fun = ODEFunction((u, p, t) -> A * u;

0 commit comments

Comments
 (0)