From 2b20f13d28a0c2030ebedd012dad50e325068bc1 Mon Sep 17 00:00:00 2001
From: Houtan Bastani <houtan@dynare.org>
Date: Tue, 7 Jan 2020 12:26:40 +0100
Subject: [PATCH] add newline after equation tag in latex output

(cherry picked from commit 70c3d478ba3cf978a5d50ef2e628c5cf0774de0b)
---
 src/ModelTree.cc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/ModelTree.cc b/src/ModelTree.cc
index e6513450..3cdfd47a 100644
--- a/src/ModelTree.cc
+++ b/src/ModelTree.cc
@@ -1,5 +1,5 @@
 /*
- * Copyright © 2003-2019 Dynare Team
+ * Copyright © 2003-2020 Dynare Team
  *
  * This file is part of Dynare.
  *
@@ -1870,7 +1870,7 @@ ModelTree::writeLatexModelFile(const string &mod_basename, const string &latex_b
               }
 
           if (wrote_eq_tag)
-            content_output << "]";
+            content_output << "]" << endl;
         }
 
       content_output << R"(\begin{dmath})" << endl;
-- 
GitLab