opensim-org / opensim-core

SimTK OpenSim C++ libraries and command-line applications, and Java/Python wrapping.
https://opensim.stanford.edu
Apache License 2.0
783 stars 316 forks source link

Use `OPENSIM_ASSERT` in `ConstantCurvatureJoint::ConstantCurvatureJointImpl` #3614

Closed nickbianco closed 10 months ago

nickbianco commented 10 months ago

Fixes issue #3610

Brief summary of changes

Replaces calls to OPENSIM_ASSERT_FRMOBJ with OPENSIM_ASSERT in ConstantCurvatureJoint::ConstantCurvatureJointImpl since it is a helper function that does not derive from Object.

Testing I've completed

Successfully created a Debug build without error.

Looking for feedback on...

CHANGELOG.md (choose one)


This change is Reviewable

nickbianco commented 10 months ago

Thanks @tkuchida!