From 1a3c6e6443440eb7595a11331449718d3cc1122f Mon Sep 17 00:00:00 2001 From: Lorenzo Moretti <107630048+LoreMoretti@users.noreply.github.com> Date: Tue, 12 Nov 2024 13:13:33 +0100 Subject: [PATCH] Fix bug for which warm_starting parameter was ignored in osqp plugin (#13) --- plugins/osqp/QpSolversEigenOsqp.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/osqp/QpSolversEigenOsqp.cpp b/plugins/osqp/QpSolversEigenOsqp.cpp index 77cd27c..7452ec9 100644 --- a/plugins/osqp/QpSolversEigenOsqp.cpp +++ b/plugins/osqp/QpSolversEigenOsqp.cpp @@ -319,7 +319,7 @@ bool OsqpSolver::setBooleanParameter(const std::string& settingName, bool value) { osqpEigenSolver.settings()->setWarmStart(value); return true; - } else if (settingName == "warm_start") + } else if (settingName == "warm_starting") { osqpEigenSolver.settings()->setWarmStart(value); return true;