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();