-
Notifications
You must be signed in to change notification settings - Fork 42
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(autoware_qp_interface): incorrect parameter passing in delegating constructor #147
fix(autoware_qp_interface): incorrect parameter passing in delegating constructor #147
Conversation
Thank you for contributing to the Autoware project! 🚧 If your pull request is in progress, switch it to draft mode. Please ensure:
|
b2df0a5
to
25274f6
Compare
I will review this after merging #146. |
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.
Please use the constant variable instead of the magic numbers.
… constructor Signed-off-by: NorahXiong <[email protected]>
bad0eac
to
2a5dcfb
Compare
@youtalk Adapted to the style now. |
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.
LGTM
Since this is fix PR, I will merge it after CI checks are alright. |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #147 +/- ##
===========================================
- Coverage 78.75% 61.26% -17.50%
===========================================
Files 11 20 +9
Lines 193 759 +566
Branches 73 412 +339
===========================================
+ Hits 152 465 +313
- Misses 11 137 +126
- Partials 30 157 +127
*This pull request uses carry forward flags. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Description
Class OSQPInterface delegating constructor is misused in the delegator. Variable eps_abs which is always a very tiny value is passed to max_iteration and then segment fault will appear when setting osqp workspace.
Related links
Should be merged after #146.
How was this PR tested?
Notes for reviewers
None.
Interface changes
None.
Effects on system behavior
None.