Skip to content

Commit

Permalink
tried to correct the error which made it fail a test
Browse files Browse the repository at this point in the history
  • Loading branch information
Peter230655 committed Jan 19, 2025
1 parent fa77376 commit bf3551d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions opty/direct_collocation.py
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,7 @@ def __init__(self, obj, obj_grad, equations_of_motion, state_symbols,
# opty compared to cyipopt.
def solve(self, free):
"""
**solve**(x)
Returns the optimal solution and an info dictionary.
Expand Down Expand Up @@ -254,6 +255,7 @@ def solve(self, free):
gives the status of the algorithm as a message
"""

return super().solve(free)

def _generate_bound_arrays(self):
Expand Down

0 comments on commit bf3551d

Please sign in to comment.