From cba149a6d0c56132c3c2838f8e91d7ed11bc5970 Mon Sep 17 00:00:00 2001 From: Kazem Date: Sat, 6 Jun 2020 13:38:21 -0400 Subject: [PATCH] WIP: fixing bounded to smp --- old/nasoq_driver.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/old/nasoq_driver.cpp b/old/nasoq_driver.cpp index 283767b..69fb154 100644 --- a/old/nasoq_driver.cpp +++ b/old/nasoq_driver.cpp @@ -160,6 +160,7 @@ int QP_demo01(int argc, char **argv){ d.application_=application; if(application == "Model Predictive Control") d.category_ = "robotics"; + qfc4->smp_->set_description(d.get_desc()); qfc4->smp_->write(smp_path); auto *qfc5 = new format::QPFormatConverter(qfc4->smp_); qfc5->smp_to_ie(); @@ -232,6 +233,7 @@ int QP_demo01(int argc, char **argv){ if(application == "Maros-Meszaros") d.category_ = "Maros-Meszaros"; std::string smp_path = base + group + "/" + stripped_name +".yml"; + qfc6->smp_->set_description(d.get_desc()); qfc6->smp_->write(smp_path); delete qfc6;