From 5a1b5aaf738276665b1850e20356980ecbe91770 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Adjemian=20=28Charybdis=29?= Date: Thu, 10 Oct 2013 14:05:12 +0200 Subject: [PATCH] Fixed bug (month number 10 was missing). --- matlab/utilities/dates/ismonthly.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/matlab/utilities/dates/ismonthly.m b/matlab/utilities/dates/ismonthly.m index 54b77a22d..dd028706b 100644 --- a/matlab/utilities/dates/ismonthly.m +++ b/matlab/utilities/dates/ismonthly.m @@ -25,7 +25,7 @@ function b = ismonthly(str) % --*-- Unitary tests --*-- % You should have received a copy of the GNU General Public License % along with Dynare. If not, see . -b = ~isempty(regexp(str,'^-?[0-9]*[Mm]([1-9]|1[12])$')); +b = ~isempty(regexp(str,'^-?[0-9]*[Mm]([1-9]|1[0-2])$')); %@test:1 %$