Skip to content

Commit

Permalink
Merge pull request patrick-kidger#68 from patrick-kidger/windows-fix
Browse files Browse the repository at this point in the history
  • Loading branch information
patrick-kidger authored Feb 15, 2022
2 parents 29372ab + b2cc38a commit ebee2fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion diffrax/step_size_controller/adaptive.py
Original file line number Diff line number Diff line change
Expand Up @@ -467,7 +467,7 @@ def _scale(_y0, _y1_candidate, _y_error):
# Clip next step size based on dtmin/dtmax
#

result = jnp.full_like(t0, RESULTS.successful, dtype=int)
result = RESULTS.successful
if self.dtmax is not None:
dt = jnp.minimum(dt, self.dtmax)
if self.dtmin is None:
Expand Down

0 comments on commit ebee2fe

Please sign in to comment.