Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Kevin CO committed Feb 24, 2025
1 parent 4037ff8 commit 529210b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bioptim/optimization/receding_horizon_optimization.py
Original file line number Diff line number Diff line change
Expand Up @@ -729,7 +729,7 @@ def solve(

solution[0].cycle_parameters = final_solution_parameters_dict

final_solution = [solution[0] if isinstance(solution, tuple) else solution]
final_solution = [solution[0]]

if get_all_iterations:
final_solution.append(solution[1])
Expand Down

0 comments on commit 529210b

Please sign in to comment.