Routine string2freq should not be case sensitive. Character 'A' is allowed for yearly (annual) dates.
parent
49a6e265e3
commit
04c206a9b6
|
@ -23,8 +23,8 @@ function freq = string2freq(s)
|
||||||
% You should have received a copy of the GNU General Public License
|
% You should have received a copy of the GNU General Public License
|
||||||
% along with Dynare. If not, see <http://www.gnu.org/licenses/>.
|
% along with Dynare. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
switch s
|
switch upper(s)
|
||||||
case 'Y'
|
case {'Y','A'}
|
||||||
freq = 1;
|
freq = 1;
|
||||||
case 'Q'
|
case 'Q'
|
||||||
freq = 4;
|
freq = 4;
|
||||||
|
|
Loading…
Reference in New Issue