From 3f8435d8fcda10cc2470d232f8c7750ea9e95df3 Mon Sep 17 00:00:00 2001 From: shueja-personal Date: Tue, 14 Nov 2023 00:14:29 -0800 Subject: [PATCH] initializer list --- src/optimization/CasADiOpti.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/optimization/CasADiOpti.h b/src/optimization/CasADiOpti.h index a207fdba..3ab65314 100644 --- a/src/optimization/CasADiOpti.h +++ b/src/optimization/CasADiOpti.h @@ -15,7 +15,7 @@ class CasADiOpti { private: casadi::Opti opti; std::optional solution; - CasADiIterCallback callback("f", 0, 0, 0); + CasADiIterCallback callback {"f", 0, 0, 0}; public: casadi::MX DecisionVariable();