RobotLocomotion / drake

Model-based design and verification for robotics.
https://drake.mit.edu
Other
3.27k stars 1.26k forks source link

Use DRAKE_THROW_UNLESS in cost/constraint #21654

Closed hongkai-dai closed 3 months ago

hongkai-dai commented 3 months ago

As mentioned by Jeremy in his comment https://github.com/RobotLocomotion/drake/issues/21578#issuecomment-2174242791


This change is Reviewable