From 8bf483d1b8dc5a7f10a5358c22d5554626da51ba Mon Sep 17 00:00:00 2001 From: Ayman Habib Date: Wed, 8 Jan 2025 11:13:29 -0800 Subject: [PATCH] Update MocoUtilities.h undo formatting changes for non-swig side for cleaner diff --- OpenSim/Moco/MocoUtilities.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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(