Skip to content

Commit 6db32d9

Browse files
Update timestepping.md
1 parent 15b5592 commit 6db32d9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/src/extras/timestepping.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -190,9 +190,9 @@ end
190190

191191
function StochasticDiffEq.stepsize_controller!(integrator::StochasticDiffEq.SDEIntegrator,
192192
controller::CustomController, alg)
193-
integrator.q11 = DiffEqBase.value(DiffEqBase.fastpow(integrator.EEst, controller.beta1))
193+
integrator.q11 = DiffEqBase.value(FastPower.fastpower(integrator.EEst, controller.beta1))
194194
integrator.q = DiffEqBase.value(integrator.q11 /
195-
DiffEqBase.fastpow(integrator.qold, controller.beta2))
195+
FastPower.fastpower(integrator.qold, controller.beta2))
196196
integrator.q = DiffEqBase.value(max(inv(integrator.opts.qmax),
197197
min(inv(integrator.opts.qmin),
198198
integrator.q / integrator.opts.gamma)))

0 commit comments

Comments
 (0)