When the Ruckig::degrees_of_freedom is changed to smaller than its initial value, if we want to switch the InputParameter::synchronization to Phase, it will never take effect. As std::all_of(...) will check all the element of inp_per_dof_synchronization even the dof is not actived. So I try to fix it, please check it!
When the
Ruckig::degrees_of_freedom
is changed to smaller than its initial value, if we want to switch theInputParameter::synchronization
to Phase, it will never take effect. Asstd::all_of(...)
will check all the element ofinp_per_dof_synchronization
even the dof is not actived. So I try to fix it, please check it!