Skip to content

Commit

Permalink
#1031 remove solver stats print lines
Browse files Browse the repository at this point in the history
  • Loading branch information
martinjrobins committed Jul 13, 2020
1 parent 9ceef30 commit 0ae3c18
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions pybamm/solvers/jax_solver.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,21 +172,6 @@ def _integrate(self, model, t_eval, inputs=None):
# note - the actual solve is not done until this line!
y = onp.array(y)

stepper = None
if stepper is not None:
sstring = ''
sstring += 'JAX {} solver - stats\n'.format(self.method)
sstring += '\tNumber of steps: {}\n'.format(stepper['n_steps'])
sstring += '\tnumber of function evaluations: {}\n'.format(
stepper['n_function_evals'])
sstring += '\tnumber of jacobian evaluations: {}\n'.format(
stepper['n_jacobian_evals'])
sstring += '\tnumber of LU decompositions: {}\n'.format(
stepper['n_lu_decompositions'])
sstring += '\tnumber of error test failures: {}'.format(
stepper['n_error_test_failures'])
pybamm.logger.info(sstring)

termination = "final time"
t_event = None
y_event = onp.array(None)
Expand Down

0 comments on commit 0ae3c18

Please sign in to comment.