Skip to content

Commit 6ce1d5d

Browse files
committed
#1477 fix bugs in scikits odes tests
1 parent 3b8a902 commit 6ce1d5d

File tree

3 files changed

+1
-5
lines changed

3 files changed

+1
-5
lines changed

pybamm/solvers/scikits_dae_solver.py

-2
Original file line numberDiff line numberDiff line change
@@ -162,8 +162,6 @@ def jacfn(t, y, ydot, residuals, cj, J):
162162
t_root,
163163
np.transpose(sol.roots.y),
164164
termination,
165-
model=model,
166-
inputs=inputs_dict,
167165
)
168166
sol.integration_time = integration_time
169167
return sol

pybamm/solvers/scikits_ode_solver.py

-2
Original file line numberDiff line numberDiff line change
@@ -177,8 +177,6 @@ def jac_times_setupfn(t, y, fy, userdata):
177177
t_root,
178178
np.transpose(sol.roots.y),
179179
termination,
180-
model=model,
181-
inputs=inputs_dict,
182180
)
183181
sol.integration_time = integration_time
184182
return sol

tox.ini

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ deps =
1919
!windows-!mac: scikits.odes
2020

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

0 commit comments

Comments
 (0)