Added missing case for set_names in subsref. This commit and the previous one fix the bug in @dynSeries::set_names method reported at http://www.dynare.org/stepan/dynare/tests/report-f4c01a43bc2882e7fd18f3cd82344fff9644088c.log.

time-shift
Stéphane Adjemian (Charybdis) 2013-09-06 16:26:51 +02:00
parent e641cdd455
commit f14db386c6
1 changed files with 1 additions and 1 deletions

View File

@ -123,7 +123,7 @@ switch S(1).type
else
error('dynSeries::subsref: Call to size method must come in last position!')
end
case {'rename','tex_rename'}
case {'set_names','rename','tex_rename'}
B = feval(S(1).subs,A,S(2).subs{:});
S = shiftS(S);
otherwise % Extract a sub-object by selecting one variable.