Skip to content

Commit

Permalink
Update convergence string conversion to match enum
Browse files Browse the repository at this point in the history
  • Loading branch information
marrts committed Dec 12, 2023
1 parent fd360ad commit 9b76760
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion trajopt_sco/include/trajopt_sco/optimizers.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ enum OptStatus
INVALID
};
static const std::array<std::string, 6> OptStatus_strings = {
"CONVERGED", "SCO_ITERATION_LIMIT", "PENALTY_ITERATION_LIMIT", "TIME_LIMI", "FAILED", "INVALID"
"OPT_CONVERGED", "OPT_SCO_ITERATION_LIMIT", "OPT_PENALTY_ITERATION_LIMIT", "OPT_TIME_LIMIT", "OPT_FAILED", "INVALID"
};
inline std::string statusToString(OptStatus status) { return OptStatus_strings[status]; }
struct OptResults
Expand Down

0 comments on commit 9b76760

Please sign in to comment.