-
Notifications
You must be signed in to change notification settings - Fork 15
fix addition of DerivativeCoefficientRows with different Start values #260
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
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.
Thanks for fixing this. Could you please add some unit tests as well to keep track of this?
Sure thing! I wasn't sure where to put the unit tests, so I added them to the end of |
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.
Thanks a lot!
A new file would be fine 👍 |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #260 +/- ##
=======================================
Coverage 90.70% 90.70%
=======================================
Files 33 33
Lines 5112 5112
=======================================
Hits 4637 4637
Misses 475 475
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Adding together two
DerivativeCoefficientRow
variables with differentStart
values throws a bounds error.For example,
results in
After applying the fix, it returns