-
-
Notifications
You must be signed in to change notification settings - Fork 167
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: Broken Function.get_value_opt for N-Dimensional Functions #492
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #492 +/- ##
==========================================
+ Coverage 70.91% 70.95% +0.04%
==========================================
Files 55 55
Lines 9261 9262 +1
==========================================
+ Hits 6567 6572 +5
+ Misses 2694 2690 -4
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
I wonder when this bug was introduced. The tests haven't been modified recently. |
I didn't have enough time to track it down (the snake case commit makes things harder). However, the old test was never going to catch the bug. What was going on is that, considering x, y, z, |
Are we going to make this into a hotfix? |
caf2715
Yes we are! |
Pull request type
Checklist
black rocketpy/ tests/
) has passed locallypytest --runslow
) have passed locallyCHANGELOG.md
has been updated (if relevant)Current behavior
As reported by @styris00, the following code shows an error with
Function.get_value_opt
when used with 2D functions.Output is:
New behavior
The bug was fixed.
Breaking change