Commit f14db386 authored by Stéphane Adjemian's avatar Stéphane Adjemian
Browse files

Added missing case for set_names in subsref. This commit and the previous one...

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.
parent e641cdd4
......@@ -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.
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment