FIX: Broken Function.get_value_opt for N-Dimensional Functions#492
FIX: Broken Function.get_value_opt for N-Dimensional Functions#492MateusStano merged 4 commits intomasterfrom
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files
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.mdhas been updated (if relevant)Current behavior
As reported by @styris00, the following code shows an error with
Function.get_value_optwhen used with 2D functions.Output is:
New behavior
The bug was fixed.
Breaking change