Skip to content

Commit

Permalink
update the caches
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisRackauckas committed Aug 4, 2017
1 parent 20b4b6b commit a497925
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/caches/rkn_caches.jl
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ end
u_cache(c::Nystrom5VelocityIndependentCache) = ()
du_cache(c::Nystrom5VelocityIndependentCache) = (c.fsalfirst,c.k₂,c.k₃,c.k₄,c.k)

function alg_cache(alg::Nystrom5VelocityIndependent,u,rate_prototype,uEltypeNoUnits,tTypeNoUnits,uprev,uprev2,f,t,::Type{Val{true}})
function alg_cache(alg::Nystrom5VelocityIndependent,u,rate_prototype,uEltypeNoUnits,tTypeNoUnits,uprev,uprev2,f,t,reltol,::Type{Val{true}})
k₁ = zeros(rate_prototype)
k₂ = zeros(rate_prototype)
k₃ = zeros(rate_prototype)
Expand All @@ -71,4 +71,3 @@ function alg_cache(alg::Nystrom5VelocityIndependent,u,rate_prototype,uEltypeNoUn
tmp = similar(u)
Nystrom5VelocityIndependentCache(u,uprev,k₁,k₂,k₃,k₄,k,tmp)
end

0 comments on commit a497925

Please sign in to comment.