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

Minor simplification to initialize_tstops #2067

Merged
merged 1 commit into from
Nov 21, 2023

Conversation

oscardssmith
Copy link
Contributor

I was reading this code to move it to sundials and realized that the empty case isn't necessary (since a loop over an empty list executes 0 times). This is nfc, but a slight readability improvement.

I was reading this code to move it to sundials and realized that the `empty` case isn't necessary (since a loop over an empty list executes 0 times). This is nfc, but a slight readability improvement.
@ChrisRackauckas ChrisRackauckas merged commit e11d38a into SciML:master Nov 21, 2023
56 of 58 checks passed
@oscardssmith oscardssmith deleted the patch-3 branch November 21, 2023 13:30
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.

2 participants