From 13c645e9402271e63d2034b26eb6e91cc938e151 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=A9bastien=20Villemot?= <sebastien@dynare.org>
Date: Thu, 14 Nov 2019 18:04:07 +0100
Subject: [PATCH] Preprocessor: improvement to balanced growth test (#1389),
 macro-processor bugfix for loops

Also includes various modernizations.
---
 doc/manual/source/the-model-file.rst | 7 +++++++
 preprocessor                         | 2 +-
 2 files changed, 8 insertions(+), 1 deletion(-)

diff --git a/doc/manual/source/the-model-file.rst b/doc/manual/source/the-model-file.rst
index a029b9bec6..4c9f61d387 100644
--- a/doc/manual/source/the-model-file.rst
+++ b/doc/manual/source/the-model-file.rst
@@ -997,6 +997,13 @@ The model is declared inside a ``model`` block:
         slave nodes when doing a parallel computation (see
         :ref:`paral-conf`).
 
+    .. option:: balanced_growth_test_tol = DOUBLE
+
+        Tolerance used for determining whether cross-derivatives are zero in
+        the test for balanced growth path (the latter is documented on
+        `<https://archives.dynare.org/DynareWiki/RemovingTrends>`__). Default:
+        ``1e-6``
+
     *Example* (Elementary RBC model)
 
         ::
diff --git a/preprocessor b/preprocessor
index 2a127b1f23..5a5817b4fe 160000
--- a/preprocessor
+++ b/preprocessor
@@ -1 +1 @@
-Subproject commit 2a127b1f2396fa52e26773b9314ec4e7621dde4e
+Subproject commit 5a5817b4fe26c40c113a2d9c62497e69a71d4b7c
-- 
GitLab