Skip to content

Commit

Permalink
Maybe fix pipline.
Browse files Browse the repository at this point in the history
  • Loading branch information
JonasBreuling committed Jun 10, 2024
1 parent 1c7d1f3 commit 2cf70bf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build and tests
name: Build and test

on: [push]
# on:
Expand Down
10 changes: 2 additions & 8 deletions pydaes/integrate/_dae/dae.py
Original file line number Diff line number Diff line change
Expand Up @@ -428,18 +428,12 @@ def fun(t, x, x_dot, fun=fun):
if dense_output:
if t_eval is None:
sol = OdeSolution(
ts, interpolants, alt_segment=False
ts, interpolants, alt_segment=True if method in [BDFDAE] else False
)
# sol = OdeSolution(
# ts, interpolants, alt_segment=True if method in [BDF] else False
# )
else:
sol = OdeSolution(
ti, interpolants, alt_segment=False
ti, interpolants, alt_segment=True if method in [BDFDAE] else False
)
# sol = OdeSolution(
# ti, interpolants, alt_segment=True if method in [BDF] else False
# )
else:
sol = None

Expand Down

0 comments on commit 2cf70bf

Please sign in to comment.