brocksam / pycollo

General-purpose optimal control, trajectory optimisation and parameter optimisation using direct collocation
https://brocksam.github.io/pycollo/
MIT License
8 stars 3 forks source link

Error for extra integral variable bound not user-friendly #43

Open NoNotCar opened 2 years ago

NoNotCar commented 2 years ago

If you have an integral bound with no integral variables you get this error: IndexError: boolean index did not match indexed array along dimension 0; dimension is 0 but corresponding boolean dimension is 1