From 04c206a9b694388cc56dfae57d9b1923103015b6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Adjemian=20=28Charybdis=29?= Date: Sat, 12 Oct 2013 23:47:51 +0200 Subject: [PATCH] Routine string2freq should not be case sensitive. Character 'A' is allowed for yearly (annual) dates. --- matlab/utilities/dates/string2freq.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/matlab/utilities/dates/string2freq.m b/matlab/utilities/dates/string2freq.m index f0b46bc3b..569908da6 100644 --- a/matlab/utilities/dates/string2freq.m +++ b/matlab/utilities/dates/string2freq.m @@ -23,8 +23,8 @@ function freq = string2freq(s) % You should have received a copy of the GNU General Public License % along with Dynare. If not, see . -switch s - case 'Y' +switch upper(s) + case {'Y','A'} freq = 1; case 'Q' freq = 4;