Skip to content

Commit

Permalink
Update timestepping.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisRackauckas authored Oct 20, 2024
1 parent 15b5592 commit 6db32d9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/src/extras/timestepping.md
Original file line number Diff line number Diff line change
Expand Up @@ -190,9 +190,9 @@ end

function StochasticDiffEq.stepsize_controller!(integrator::StochasticDiffEq.SDEIntegrator,
controller::CustomController, alg)
integrator.q11 = DiffEqBase.value(DiffEqBase.fastpow(integrator.EEst, controller.beta1))
integrator.q11 = DiffEqBase.value(FastPower.fastpower(integrator.EEst, controller.beta1))
integrator.q = DiffEqBase.value(integrator.q11 /
DiffEqBase.fastpow(integrator.qold, controller.beta2))
FastPower.fastpower(integrator.qold, controller.beta2))
integrator.q = DiffEqBase.value(max(inv(integrator.opts.qmax),
min(inv(integrator.opts.qmin),
integrator.q / integrator.opts.gamma)))
Expand Down

0 comments on commit 6db32d9

Please sign in to comment.