From dfb0629c252dd1ea0641e90ccebb1c744570ac74 Mon Sep 17 00:00:00 2001
From: Houtan Bastani <houtan@dynare.org>
Date: Wed, 12 Sep 2018 18:21:34 +0200
Subject: [PATCH] fix typo

---
 src/SubModel.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/SubModel.cc b/src/SubModel.cc
index 9a1def8b..ae0792fa 100644
--- a/src/SubModel.cc
+++ b/src/SubModel.cc
@@ -501,7 +501,7 @@ VarModelTable::writeOutput(const string &basename, ostream &output) const
           ar_output << "    ar(" << eqn + 1 << ", " << colidx + 1 << ", " << lag
                     << ") = ";
           it.second->writeOutput(ar_output, ExprNodeOutputType::matlabDynamicModel);
-          ar_output << endl;
+          ar_output << ";" << endl;
         }
       ar_output << "    return" << endl
                 << "end" << endl << endl;
-- 
GitLab