Skip to content

Commit

Permalink
alt_segment is the problem, but why?
Browse files Browse the repository at this point in the history
  • Loading branch information
JonasBreuling committed Jun 10, 2024
1 parent 2cf70bf commit 8411fff
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions pydaes/integrate/_dae/dae.py
Original file line number Diff line number Diff line change
Expand Up @@ -428,11 +428,13 @@ def fun(t, x, x_dot, fun=fun):
if dense_output:
if t_eval is None:
sol = OdeSolution(
ts, interpolants, alt_segment=True if method in [BDFDAE] else False
ts, interpolants, alt_segment=False
# ts, interpolants, alt_segment=True if method in [BDFDAE] else False
)
else:
sol = OdeSolution(
ti, interpolants, alt_segment=True if method in [BDFDAE] else False
ti, interpolants, alt_segment=False
# ti, interpolants, alt_segment=True if method in [BDFDAE] else False
)
else:
sol = None
Expand Down

0 comments on commit 8411fff

Please sign in to comment.