-
-
Notifications
You must be signed in to change notification settings - Fork 195
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -265,10 +265,10 @@ function stepsize_controller!(integrator, | |
expo = 1/(get_current_adaptive_order(integrator.alg,integrator.cache)+1) | ||
qtmp = (integrator.EEst^expo)/fac | ||
@fastmath q = max(inv(integrator.opts.qmax),min(inv(integrator.opts.qmin),qtmp)) | ||
integrator.qold = q | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
ChrisRackauckas
Member
|
||
if q <= integrator.opts.qsteady_max && q >= integrator.opts.qsteady_min | ||
q = one(q) | ||
end | ||
integrator.qold = q | ||
end | ||
q | ||
end | ||
|
Why is this important?