Skip to content

Commit

Permalink
Cleanup main branch now.
Browse files Browse the repository at this point in the history
  • Loading branch information
JonasBreuling committed Aug 23, 2024
1 parent 8af8654 commit b89f99f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions scipy_dae/integrate/_dae/radau.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
MAX_FACTOR = 10 # Maximum allowed increase in a step size.
KAPPA = 1 # Factor of the smooth limiter

UNKNOWN_VELOCITIES = False
# UNKNOWN_VELOCITIES = True
# UNKNOWN_VELOCITIES = False
UNKNOWN_VELOCITIES = True


def butcher_tableau(s):
Expand Down
4 changes: 2 additions & 2 deletions scipy_dae/integrate/_dae/tests/test_integration_robertson.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def F_robertson(t, state, statep):
continuous_error_weight=continuous_error_weight)

# If the stiff mode is not activated correctly, these numbers will be much bigger
assert res.nfev < 3200
assert res.nfev < 3300
assert res.njev < 150


Expand Down Expand Up @@ -104,7 +104,7 @@ def F_robertson(t, y, yp):

else: # Radau
for stages, continuous_error_weight in product(
[3, 5], # stages
[3, 5, 7], # stages
[0.0, 0.5, 1.0], # continuous_error_weight
):
res = solve_dae(F_robertson, tspan, y0, yp0, rtol=rtol,
Expand Down

0 comments on commit b89f99f

Please sign in to comment.