From bad994195374fc3970e5edeb2f32070cb703f993 Mon Sep 17 00:00:00 2001 From: Squirtleee Date: Mon, 19 Jan 2026 17:33:00 -0500 Subject: [PATCH 1/2] fixed phs sample clamp --- src/impl/vamp/planning/phs.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/impl/vamp/planning/phs.hh b/src/impl/vamp/planning/phs.hh index 958e6a31..4fdea242 100644 --- a/src/impl/vamp/planning/phs.hh +++ b/src/impl/vamp/planning/phs.hh @@ -164,7 +164,7 @@ namespace vamp::planning // Clamp values Robot::descale_configuration(x); - x.clamp(0.F, 1.F); + x=x.clamp(0.F, 1.F); Robot::scale_configuration(x); return x; From c884001f58f2575bab2691c5ed221df4d7c7b3e0 Mon Sep 17 00:00:00 2001 From: Squirtleee Date: Mon, 19 Jan 2026 17:57:19 -0500 Subject: [PATCH 2/2] format --- src/impl/vamp/planning/phs.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/impl/vamp/planning/phs.hh b/src/impl/vamp/planning/phs.hh index 4fdea242..eb43e1b6 100644 --- a/src/impl/vamp/planning/phs.hh +++ b/src/impl/vamp/planning/phs.hh @@ -164,7 +164,7 @@ namespace vamp::planning // Clamp values Robot::descale_configuration(x); - x=x.clamp(0.F, 1.F); + x = x.clamp(0.F, 1.F); Robot::scale_configuration(x); return x;