Skip to content

Commit

Permalink
Merge pull request #4006 from opensim-org/moco_parameter_typo
Browse files Browse the repository at this point in the history
Fix typo in `MocoParameter.h`
  • Loading branch information
nickbianco authored Jan 31, 2025
2 parents d39522a + b00a760 commit 1281035
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion OpenSim/Moco/MocoParameter.h
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ Create a MocoParameter from a property in the model:
MocoParameter p0;
p0.setName("torso_mass");
p0.appendComponentPath("torso");
p0.setParameterName("mass");
p0.setPropertyName("mass");
MocoBounds massBounds(60, 80);
p0.setBounds(massBounds);
@endcode
Expand Down

0 comments on commit 1281035

Please sign in to comment.