Skip to content

Commit

Permalink
Update MocoUtilities.h
Browse files Browse the repository at this point in the history
undo formatting changes for non-swig side for cleaner diff
  • Loading branch information
aymanhab authored Jan 8, 2025
1 parent 05f973e commit 8bf483d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions OpenSim/Moco/MocoUtilities.h
Original file line number Diff line number Diff line change
Expand Up @@ -173,9 +173,9 @@ OSIMMOCO_API MocoTrajectory createPeriodicTrajectory(
std::vector<std::string> negateAndShiftPatterns = {
".*pelvis_list/value",
".*pelvis_tz/value",
".*lumbar_bending/value"},
".*lumbar_bending/value"},
std::vector<std::pair<std::string, std::string>> symmetryPatterns =
{{R"(_r(/|_|$))", "_l$1"}, {R"(_l(/|_|$))", "_r$1"}});
{{R"(_r(\/|_|$))", "_l$1"}, {R"(_l(\/|_|$))", "_r$1"}});
#else
// Variant that doesn't take symmetryPatterns which are unusable from scripting
OSIMMOCO_API MocoTrajectory createPeriodicTrajectory(
Expand Down

0 comments on commit 8bf483d

Please sign in to comment.