Rapid-Design-of-Systems-Laboratory / beluga

General purpose indirect trajectory optimization
Other
25 stars 6 forks source link

Using `direction='reverse'` results in type error #190

Closed SeanMatthewNolan closed 5 years ago

SeanMatthewNolan commented 5 years ago

Sol.t is store as list instead of np.array so TypeError: unsupported operand type(s) for /: 'list' and 'float' occcurs on line 223 in beluga\optimlib\indirect.py. This should be relatively easy to fix