Skip to content
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 small bug in BoxedLcpConstraintSolver #1459

Merged
merged 2 commits into from
May 10, 2020

Conversation

costashatz
Copy link
Contributor

This PR fixes a small allocation bug in BoxedLcpConstraintSolver. This was bothering me for several months. I managed to pin-point it. This is very apparent if one uses many mimic joints (and thus creates many constraints).

@codecov
Copy link

codecov bot commented May 8, 2020

Codecov Report

Merging #1459 into master will increase coverage by 0.01%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master    #1459      +/-   ##
==========================================
+ Coverage   58.23%   58.24%   +0.01%     
==========================================
  Files         412      412              
  Lines       29923    29923              
==========================================
+ Hits        17425    17428       +3     
+ Misses      12498    12495       -3     
Impacted Files Coverage Δ
dart/constraint/BoxedLcpConstraintSolver.cpp 53.00% <100.00%> (ø)
dart/dynamics/Skeleton.cpp 66.33% <0.00%> (+0.16%) ⬆️

Copy link
Member

@jslee02 jslee02 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch! Update the changelog.

@jslee02 jslee02 added this to the DART 6.10.0 milestone May 10, 2020
@jslee02 jslee02 merged commit 25abb49 into dartsim:master May 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants