We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 23d2265 commit 634cc39Copy full SHA for 634cc39
src/interpolator.cpp
@@ -88,7 +88,7 @@ namespace simple_mpc
88
{
89
// Compute the time knot corresponding to the current delay
90
size_t step_nb = static_cast<size_t>(delay / timestep);
91
- step_nb = std::clamp(step_nb, 0UL, vs.size()-1);
+ step_nb = std::clamp(step_nb, 0UL, vs.size() - 1);
92
93
// Set the output arg
94
v_interp = vs[step_nb];
0 commit comments