From 0cae6a67ecd765f08eb38d2ab5d8d31aeb650043 Mon Sep 17 00:00:00 2001 From: shueja <32416547+shueja@users.noreply.github.com> Date: Tue, 18 Jun 2024 19:52:46 -0700 Subject: [PATCH] Update src/optimization/algorithms/SwerveDiscreteOptimal.inc Co-authored-by: Tyler Veness --- src/optimization/algorithms/SwerveDiscreteOptimal.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/optimization/algorithms/SwerveDiscreteOptimal.inc b/src/optimization/algorithms/SwerveDiscreteOptimal.inc index cc8132e9..dbf5912d 100644 --- a/src/optimization/algorithms/SwerveDiscreteOptimal.inc +++ b/src/optimization/algorithms/SwerveDiscreteOptimal.inc @@ -35,7 +35,7 @@ SwerveDiscreteOptimal::SwerveDiscreteOptimal( const SwervePath& path, const std::vector& N, const Solution& initialGuess, int64_t handle) : path(path), N(N) { - opti.AddIntermediateCallback([=, this]() { + opti.AddIntermediateCallback([=, this] { using namespace std::chrono_literals; static auto lastFrameTime = std::chrono::steady_clock::now(); auto now = std::chrono::steady_clock::now();