Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
oscardssmith committed Sep 16, 2024
1 parent 5a67651 commit 19197ce
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions lib/OrdinaryDiffEqDifferentiation/src/derivative_utils.jl
Original file line number Diff line number Diff line change
Expand Up @@ -540,7 +540,7 @@ function calc_W!(W, integrator, nlsolver::Union{Nothing, AbstractNLSolver}, cach
if W isa WOperator
if isnewton(nlsolver)
# we will call `update_coefficients!` for u/p/t in NLNewton
update_coefficients!(W, dtgamma)
update_coefficients!(W; dtgamma)
else
update_coefficients!(W, uprev, p, t; dtgamma)
end
Expand Down Expand Up @@ -842,4 +842,4 @@ function resize_J_W!(cache, integrator, i)
end

nothing
end
end
2 changes: 1 addition & 1 deletion test/interface/utility_tests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ using OrdinaryDiffEq.OrdinaryDiffEqDifferentiation: WOperator, calc_W, calc_W!,
tspan = (0.0, 1.0)
dt = 0.01
dtgamma = 0.5dt
concrete_W = -mm + dtgamma * A
concrete_W = A - inv(dtgamma)*mm

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

0 comments on commit 19197ce

Please sign in to comment.