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
|
||||
% along with Dynare. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
switch s
|
||||
case 'Y'
|
||||
switch upper(s)
|
||||
case {'Y','A'}
|
||||
freq = 1;
|
||||
case 'Q'
|
||||
freq = 4;
|
||||
|
|
Loading…
Reference in New Issue