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;