Skip to content

Commit

Permalink
fix more typos
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisRackauckas committed Aug 18, 2024
1 parent 23cc8d5 commit 25efbff
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 2 additions & 0 deletions lib/OrdinaryDiffEqLinear/src/linear_caches.jl
Original file line number Diff line number Diff line change
Expand Up @@ -565,6 +565,8 @@ end
exp_cache::expType
end

get_fsalfirstlast(cache::LinearExponentialCache,u) = (zero(u), zero(u))

function _phiv_timestep_caches(u_prototype, maxiter::Int, p::Int)
n = length(u_prototype)
T = eltype(u_prototype)
Expand Down
2 changes: 1 addition & 1 deletion lib/OrdinaryDiffEqRosenbrock/src/rosenbrock_caches.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1135,7 +1135,7 @@ end

get_fsalfirstlast(cache::Union{Rosenbrock23Cache,Rosenbrock32Cache, Rosenbrock33Cache,
Rosenbrock34Cache,
Rosenbrock4Cache}) = (cache.fsalfirst, cache.fsallast)
Rosenbrock4Cache},u) = (cache.fsalfirst, cache.fsallast)

################################################################################

Expand Down
2 changes: 0 additions & 2 deletions lib/OrdinaryDiffEqRosenbrock/src/rosenbrock_perform_step.jl
Original file line number Diff line number Diff line change
Expand Up @@ -412,8 +412,6 @@ function initialize!(integrator,
Rosenbrock4Cache})
integrator.kshortsize = 2
@unpack fsalfirst, fsallast = cache
integrator.fsalfirst = fsalfirst
integrator.fsallast = fsallast
resize!(integrator.k, integrator.kshortsize)
integrator.k[1] = fsalfirst
integrator.k[2] = fsallast
Expand Down

0 comments on commit 25efbff

Please sign in to comment.