From ec6ce95efd75637e4296e8a1dba6ab7bcf9b4a64 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Villemot?= <sebastien@dynare.org> Date: Thu, 16 Jun 2022 16:50:01 +0200 Subject: [PATCH] =?UTF-8?q?Manual:=20fix=20return=20value=20of=20=E2=80=9C?= =?UTF-8?q?in=E2=80=9D=20macro-operator?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It returns a boolean, not a logical. --- doc/manual/source/the-model-file.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/manual/source/the-model-file.rst b/doc/manual/source/the-model-file.rst index 8d7eae1ac6..33a811a551 100644 --- a/doc/manual/source/the-model-file.rst +++ b/doc/manual/source/the-model-file.rst @@ -14285,7 +14285,7 @@ Macro directives @#define w = [ "US", "EA" ] // String array @#define u = [ 1, ["EA"] ] // Mixed array @#define z = 3 + v[2] // Equals 5 - @#define t = ("US" in w) // Equals 1 (true) + @#define t = ("US" in w) // Equals true @#define f(x) = " " + x + y // Function `f` with argument `x` // returns the string ' ' + x + 'US' -- GitLab