From 2bc3baa3dd9205f854b836ffcf9c9771f416c491 Mon Sep 17 00:00:00 2001 From: franckgaga Date: Mon, 19 Oct 2026 15:27:28 -0400 Subject: [PATCH] bench: debug 2 tests to suppress the `preparestate!` warns --- benchmark/3_bench_predictive_control.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/benchmark/3_bench_predictive_control.jl b/benchmark/3_bench_predictive_control.jl index 11ada2a58..ceb11676f 100644 --- a/benchmark/3_bench_predictive_control.jl +++ b/benchmark/3_bench_predictive_control.jl @@ -113,7 +113,7 @@ UNIT_MPC["NonLinMPC"]["moveinput!"]["NonLinModel"]["SingleShooting"] = ) UNIT_MPC["NonLinMPC"]["moveinput!"]["NonLinModel"]["SingleShootingHessian"] = @benchmarkable( - moveinput!($nmpc_nonlin_ss, $y, $d), + moveinput!($nmpc_nonlin_ss_hess, $y, $d), setup=preparestate!($nmpc_nonlin_ss_hess, $y, $d), samples=samples, evals=evals, seconds=seconds ) @@ -125,7 +125,7 @@ UNIT_MPC["NonLinMPC"]["moveinput!"]["NonLinModel"]["MultipleShooting"] = ) UNIT_MPC["NonLinMPC"]["moveinput!"]["NonLinModel"]["MultipleShootingHessian"] = @benchmarkable( - moveinput!($nmpc_nonlin_ms, $y, $d), + moveinput!($nmpc_nonlin_ms_hess, $y, $d), setup=preparestate!($nmpc_nonlin_ms_hess, $y, $d), samples=samples, evals=evals, seconds=seconds )