Skip to content

Commit

Permalink
simplify
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisRackauckas committed Jun 10, 2019
1 parent 9ff50f2 commit 75f1497
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/tsit5/gpuatsit5.jl
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@ export GPUSimpleTsit5

function DiffEqBase.solve(prob::ODEProblem,
alg::GPUSimpleTsit5;
dt = 0.1f0,
abstol = 1f-6, reltol = 1f-3)
dt = 0.1f0)
@assert !isinplace(prob)
u0 = prob.u0
tspan = prob.tspan
Expand All @@ -21,7 +20,6 @@ function DiffEqBase.solve(prob::ODEProblem,
us = MVector{length(ts),typeof(u0)}(undef)
us[1] = u0
u = u0
qold = qoldinit
k7 = f(u, p, t)

cs, as, btildes, rs = _build_atsit5_caches(eltype(u0))
Expand Down

0 comments on commit 75f1497

Please sign in to comment.