-
-
Notifications
You must be signed in to change notification settings - Fork 101
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
fix segfault when interpolating on failed solution #476
fix segfault when interpolating on failed solution #476
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
AI-Maintainer Review for PR - Fix segfault when interpolating on failed solution
Title and Description 👍
Scope of Changes 👍
Testing ⚠️
Code Changes 👍
Recommendations
Please provide a brief description of the testing procedures used to validate these changes. This will help reviewers understand how the changes have been verified and can provide confidence in the robustness of the fix.
Thank you for your contribution!
Reviewed with AI Maintainer
Codecov Report
@@ Coverage Diff @@
## master #476 +/- ##
==========================================
- Coverage 56.62% 56.28% -0.35%
==========================================
Files 47 47
Lines 3583 3587 +4
==========================================
- Hits 2029 2019 -10
- Misses 1554 1568 +14
... and 13 files with indirect coverage changes 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
Fixes #458
Previously the check for whether the interpolation was being asked to extrapolate outside the time range assumed that at least two steps were taken. (otherwise
t[end]-t[1] == 0
). This would then cause a segfault when you actually try to do the interpolation.