Skip to content

Commit

Permalink
#1082 changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
valentinsulzer committed Jun 30, 2020
1 parent 9bacc5a commit 066b88f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 3 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

## Features

- Reformatted Getting Starte notebooks ([#1083](https://github.com/pybamm-team/PyBaMM/pull/1083))
- Reformatted Getting Started notebooks ([#1083](https://github.com/pybamm-team/PyBaMM/pull/1083))
- Reformatted Landesfeind electrolytes ([#1064](https://github.com/pybamm-team/PyBaMM/pull/1064))
- Adapted examples to be run in Google Colab ([#1061](https://github.com/pybamm-team/PyBaMM/pull/1061))
- Added some new solvers for algebraic models ([#1059](https://github.com/pybamm-team/PyBaMM/pull/1059))
Expand All @@ -12,6 +12,8 @@

## Optimizations

- Reformatted CasADi "safe" mode to deal with events better ([#1089](https://github.com/pybamm-team/PyBaMM/pull/1089))

## Bug fixes

- 2D processed variables can now be evaluated at the domain boundaries ([#1088](https://github.com/pybamm-team/PyBaMM/pull/1088))
Expand Down
3 changes: 1 addition & 2 deletions pybamm/solvers/casadi_solver.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,8 +152,7 @@ def _integrate(self, model, t_eval, inputs=None):
dt_max = self.dt_max / model.timescale_eval
else:
# t_f is the dimensionless final time (scaled with the timescale)
# Keeping a safe factor of 0.01 but could potentially be bigger
dt_max = 0.01 * min(1, t_f)
dt_max = 0.1 * min(1, t_f)
dt_eval_max = np.max(np.diff(t_eval)) * 1.01
dt_max = np.max([dt_max, dt_eval_max])
while t < t_f:
Expand Down

0 comments on commit 066b88f

Please sign in to comment.