dymos
dymos copied to clipboard
Bug: Silent fail when setting vector valued ref/ref0 to vector valued state
Issue Type
- [x] Bug
- [ ] Enhancement
- [ ] Docs
- [ ] Miscellaneous
Description
In response to this SO question we tested out providing a vector valued ref/ref0 to a vector valued state. It should work, but doesn't.
Example
If a state is declared as size 2, then ref=[0.5,10] should be allowed. Dymos should then manage the num_nodes dimension when passing the ref down to OpenMDAO. Currently it just silently swallows the assignment.