Skip to content

Add const qualification to calcBodyMomentumAboutBodyOriginInGround()#803

Merged
sherm1 merged 1 commit intosimbody:masterfrom
nickbianco:const_qualify_calc_body_momentum
Nov 7, 2024
Merged

Add const qualification to calcBodyMomentumAboutBodyOriginInGround()#803
sherm1 merged 1 commit intosimbody:masterfrom
nickbianco:const_qualify_calc_body_momentum

Conversation

@nickbianco
Copy link
Collaborator

@nickbianco nickbianco commented Nov 7, 2024

While writing wrapper functions in OpenSim for accessing body momentum calculations from Simbody, I noticed that calcBodyMomentumAboutBodyOriginInGround() was not const qualified.

Opening the PR since I don't see any reason why it shouldn't be, and I receive no compiler errors when adding it in.


This change is Reviewable

Copy link
Member

@sherm1 sherm1 left a comment

Choose a reason for hiding this comment

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

Thanks, Nick! :lgtm:
Windows CI failed but looks unrelated.

Reviewed 1 of 1 files at r1, all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @nickbianco)

@sherm1 sherm1 merged commit 7265c6e into simbody:master Nov 7, 2024
@nickbianco nickbianco deleted the const_qualify_calc_body_momentum branch November 7, 2024 21:56
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