From 123049cf186eb94320b7eaa9b37c31a4d965016f Mon Sep 17 00:00:00 2001
From: Houtan Bastani <houtan@dynare.org>
Date: Mon, 1 Jul 2019 14:36:55 +0200
Subject: [PATCH] doc: add comment about brackets around array created from
 colon operator. closes preprocessor#6

---
 doc/manual/source/the-model-file.rst | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/doc/manual/source/the-model-file.rst b/doc/manual/source/the-model-file.rst
index 6f7a21fa3c..b911228e49 100644
--- a/doc/manual/source/the-model-file.rst
+++ b/doc/manual/source/the-model-file.rst
@@ -10357,7 +10357,10 @@ The following operators can be used on doubles:
     * Logical operators: ``&&, ||, !``
     * Integer ranges, using the following syntax:
       ``INTEGER1:INTEGER2`` (for example, ``1:4`` is equivalent to
-      integer array ``[1,2,3,4]``)
+      integer array ``[1,2,3,4]``).
+
+      .. versionchanged:: 4.6
+         Before this change, you needed brackets around the arguments to the colon operator (e.g. ``[1:4]``)
     * Functions: ``max, min, mod, exp, ln, log10, sin, cos, tan, asin, acos,
       atan, sqrt, cbrt, sign, floor, ceil, trunc, erf, erfc, gamma, lgamma,
       round, normpdf, normcdf``. NB ``log`` can be used instead of ``ln``
-- 
GitLab