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
e641cdd455
commit
f14db386c6
|
@ -123,7 +123,7 @@ switch S(1).type
|
||||||
else
|
else
|
||||||
error('dynSeries::subsref: Call to size method must come in last position!')
|
error('dynSeries::subsref: Call to size method must come in last position!')
|
||||||
end
|
end
|
||||||
case {'rename','tex_rename'}
|
case {'set_names','rename','tex_rename'}
|
||||||
B = feval(S(1).subs,A,S(2).subs{:});
|
B = feval(S(1).subs,A,S(2).subs{:});
|
||||||
S = shiftS(S);
|
S = shiftS(S);
|
||||||
otherwise % Extract a sub-object by selecting one variable.
|
otherwise % Extract a sub-object by selecting one variable.
|
||||||
|
|
Loading…
Reference in New Issue