RobotLocomotion / drake

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

Allow PartialPermutation to accept empty vector #22229

Open xuchenhan-tri opened 9 hours ago

xuchenhan-tri commented 9 hours ago

Prevents segfaulting when constructing PartialPermutation with an empty std::vector.


This change is Reviewable