From 28b5f597ba92d0bb2541b2e56ccf89fe2fa219d0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?St=C3=A9phane=20Adjemian=20=28Ry=C3=BBk=29?=
 <stepan@adjemian.eu>
Date: Wed, 5 Jan 2022 11:35:02 +0100
Subject: [PATCH] Fix list of allowed expressions in LHS (for
 solve_algo={12,14}).

[skip ci]

(cherry picked from commit 472e66ae477af1840bd3dfed7aa7aee820465295)
---
 doc/manual/source/the-model-file.rst | 33 +++++++++++++++-------------
 1 file changed, 18 insertions(+), 15 deletions(-)

diff --git a/doc/manual/source/the-model-file.rst b/doc/manual/source/the-model-file.rst
index 6ee4ec2698..3badb07a75 100644
--- a/doc/manual/source/the-model-file.rst
+++ b/doc/manual/source/the-model-file.rst
@@ -2855,24 +2855,27 @@ Finding the steady state with Dynare nonlinear solver
 
            ``12``
 
-                Specialized version of ``2`` for models where all the
-                equations have one endogenous variable on the left
-                hand side and where each equation determines a
-                different endogenous variable. Only expression allowed
-                on the left hand side is the natural logarithm of an
-                endogenous variable. Univariate blocks are solved by
-                evaluating the expression on the right hand
-                side.
+                Specialized version of ``2`` for models where all the equations
+                have one endogenous variable on the left hand side and where
+                each equation determines a different endogenous variable. Only
+                expressions allowed on the left hand side are the natural
+                logarithm of an endogenous variable, the first difference of an
+                endogenous variable (with the ``diff`` operator), or the first
+                difference of the logarithm of an endogenous variable.
+                Univariate blocks are solved by evaluating the expression on the
+                right hand side.
 
            ``14``
 
-                Specialized version of ``4`` for models where all the
-                equations have one endogenous variable on the left
-                hand side and where each equation determines a
-                different endogenous variable. Only expression allowed
-                on the left hand side is the natural logarithm of an
-                endogenous variable. Univariate blocks are solved by
-                evaluating the expression on the right hand side.
+                Specialized version of ``4`` for models where all the equations
+                have one endogenous variable on the left hand side and where
+                each equation determines a different endogenous variable. Only
+                expressions allowed on the left hand side are the natural
+                logarithm of an endogenous variable, the first difference of an
+                endogenous variable (with the ``diff`` operator), or the first
+                difference of the logarithm of an endogenous variable..
+                Univariate blocks are solved by evaluating the expression on the
+                right hand side.
 
        |br| Default value is ``4``.
 
-- 
GitLab