From 6936e54d4212b298dbb51a5f88508987cb2b15c1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=A9bastien=20Villemot?= <sebastien@dynare.org>
Date: Tue, 25 Jan 2022 10:34:46 +0100
Subject: [PATCH] Remove unused field M_.pac.(model_name).lhs

It contains symbol IDs, so it cannot be used from MATLAB/Octave code.
---
 src/SubModel.cc | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/src/SubModel.cc b/src/SubModel.cc
index abba3aff..3b36e99a 100644
--- a/src/SubModel.cc
+++ b/src/SubModel.cc
@@ -1467,14 +1467,6 @@ PacModelTable::writeOutput(const string &basename, ostream &output) const
     output << "M_.pac." << model << ".growth_neutrality_param_index = "
            << symbol_table.getTypeSpecificID(growth_neutrality_param_index) + 1 << ";" << endl;
 
-  for (auto &[model, lhs] : lhs)
-    {
-      output << "M_.pac." << model << ".lhs = [";
-      for (auto id : lhs)
-        output << id + 1 << " ";
-      output << "];" << endl;
-    }
-
   for (auto &[model, type] : aux_model_type)
       output << "M_.pac." << model << ".auxiliary_model_type = '" << type << "';" << endl;
 
-- 
GitLab