Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: implement new discrete saving functionality #2728

Merged
merged 13 commits into from
Jul 29, 2024

Conversation

AayushSabharwal
Copy link
Member

@AayushSabharwal AayushSabharwal commented May 21, 2024

Requires:

Checklist

  • Appropriate tests were added
  • Any code changes were done in a way that does not break public API
  • All documentation related to code changes were updated
  • The new code follows the
    contributor guidelines, in particular the SciML Style Guide and
    COLPRAC.
  • Any new documentation only uses public API

Additional context

Add any other context about the problem here.

@AayushSabharwal AayushSabharwal marked this pull request as draft May 21, 2024 06:46
@@ -186,6 +186,10 @@ function split_system(ci::ClockInference{S}) where {S}
end
tss[id] = ts_i
end
tss[continuous_id], tss[1] = tss[1], tss[continuous_id]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We cannot assume continuous_id always exists.

@@ -186,6 +186,13 @@ function split_system(ci::ClockInference{S}) where {S}
end
tss[id] = ts_i
end
if continuous_id !== 0
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Where is continuous_id defined in this function?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Line 163

@AayushSabharwal AayushSabharwal force-pushed the as/discrete-save branch 2 times, most recently from aa3f0ba to af37ae8 Compare May 31, 2024 17:19
@AayushSabharwal AayushSabharwal force-pushed the as/discrete-save branch 3 times, most recently from 9044096 to e3c62d1 Compare July 2, 2024 09:33
@AayushSabharwal AayushSabharwal marked this pull request as ready for review July 24, 2024 05:50
@AayushSabharwal
Copy link
Member Author

Waiting for SciML/SciMLBase.jl#743

@ChrisRackauckas ChrisRackauckas merged commit 171c43e into SciML:master Jul 29, 2024
22 checks passed
@AayushSabharwal AayushSabharwal deleted the as/discrete-save branch July 30, 2024 06:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants