From 22f25b0784c435623d7ffa42328bea2d8150cfb0 Mon Sep 17 00:00:00 2001 From: shueja-personal Date: Tue, 14 Nov 2023 00:12:00 -0800 Subject: [PATCH] initialize callback --- 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 7dd00994..a207fdba 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 = null; + CasADiIterCallback callback("f", 0, 0, 0); public: casadi::MX DecisionVariable();