Skip to content

Commit 25efbff

Browse files
fix more typos
1 parent 23cc8d5 commit 25efbff

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

lib/OrdinaryDiffEqLinear/src/linear_caches.jl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -565,6 +565,8 @@ end
565565
exp_cache::expType
566566
end
567567

568+
get_fsalfirstlast(cache::LinearExponentialCache,u) = (zero(u), zero(u))
569+
568570
function _phiv_timestep_caches(u_prototype, maxiter::Int, p::Int)
569571
n = length(u_prototype)
570572
T = eltype(u_prototype)

lib/OrdinaryDiffEqRosenbrock/src/rosenbrock_caches.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1135,7 +1135,7 @@ end
11351135

11361136
get_fsalfirstlast(cache::Union{Rosenbrock23Cache,Rosenbrock32Cache, Rosenbrock33Cache,
11371137
Rosenbrock34Cache,
1138-
Rosenbrock4Cache}) = (cache.fsalfirst, cache.fsallast)
1138+
Rosenbrock4Cache},u) = (cache.fsalfirst, cache.fsallast)
11391139

11401140
################################################################################
11411141

lib/OrdinaryDiffEqRosenbrock/src/rosenbrock_perform_step.jl

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -412,8 +412,6 @@ function initialize!(integrator,
412412
Rosenbrock4Cache})
413413
integrator.kshortsize = 2
414414
@unpack fsalfirst, fsallast = cache
415-
integrator.fsalfirst = fsalfirst
416-
integrator.fsallast = fsallast
417415
resize!(integrator.k, integrator.kshortsize)
418416
integrator.k[1] = fsalfirst
419417
integrator.k[2] = fsallast

0 commit comments

Comments
 (0)