Skip to content

Commit

Permalink
#1477 fix bugs in scikits odes tests
Browse files Browse the repository at this point in the history
  • Loading branch information
martinjrobins committed Jul 22, 2021
1 parent 3b8a902 commit 6ce1d5d
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 5 deletions.
2 changes: 0 additions & 2 deletions pybamm/solvers/scikits_dae_solver.py
Original file line number Diff line number Diff line change
Expand Up @@ -162,8 +162,6 @@ def jacfn(t, y, ydot, residuals, cj, J):
t_root,
np.transpose(sol.roots.y),
termination,
model=model,
inputs=inputs_dict,
)
sol.integration_time = integration_time
return sol
Expand Down
2 changes: 0 additions & 2 deletions pybamm/solvers/scikits_ode_solver.py
Original file line number Diff line number Diff line change
Expand Up @@ -177,8 +177,6 @@ def jac_times_setupfn(t, y, fy, userdata):
t_root,
np.transpose(sol.roots.y),
termination,
model=model,
inputs=inputs_dict,
)
sol.integration_time = integration_time
return sol
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ deps =
!windows-!mac: scikits.odes

commands =
tests: python run-tests.py --unit --folder all
tests: python tests/unit/test_solvers/test_scikits_solvers.py
quick: python run-tests.py --unit
examples: python run-tests.py --examples
dev-!windows-!mac: sh -c "echo export LD_LIBRARY_PATH={env:LD_LIBRARY_PATH} >> {envbindir}/activate"
Expand Down

0 comments on commit 6ce1d5d

Please sign in to comment.