diff --git a/OpenSim/Moco/MocoUtilities.h b/OpenSim/Moco/MocoUtilities.h index e525eb2e7f..6c967a8104 100644 --- a/OpenSim/Moco/MocoUtilities.h +++ b/OpenSim/Moco/MocoUtilities.h @@ -173,9 +173,9 @@ OSIMMOCO_API MocoTrajectory createPeriodicTrajectory( std::vector negateAndShiftPatterns = { ".*pelvis_list/value", ".*pelvis_tz/value", - ".*lumbar_bending/value"}, + ".*lumbar_bending/value"}, std::vector> 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(