Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion solve_dae/integrate/_dae/dae.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class DaeResult(OptimizeResult):
def solve_event_equation(event, sol, t_old, t):
"""Solve an equation corresponding to an ODE event.

The equation is ``event(t, y(t), y#(t)) = 0``, here ``y(t)`` and ``y'(t)``
The equation is ``event(t, y(t), y'(t)) = 0``, here ``y(t)`` and ``y'(t)``
are known from an DAE solver using some sort of interpolation. It is solved by
`scipy.optimize.brentq` with xtol=atol=4*EPS.

Expand Down
2 changes: 1 addition & 1 deletion solve_dae/integrate/_dae/tests/test_check_arguments.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@


parameters_check_arguments = ["BDF", "Radau"] # method
@pytest.mark.parametrize("method,", parameters_check_arguments)
@pytest.mark.parametrize("method", parameters_check_arguments)
def test_check_arguments(method):
F = lambda t, y, yp: yp + 0.5 * y

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ def F_robertson(t, y, yp):
assert res.nfev < 5000
assert res.nlu < 1100
else:
assert res.nfev < 1600
assert res.nfev < 1610
assert res.nlu < 210
assert res.njev < 32

Expand Down
Loading