dseries: change default to not use sub operator on latex

time-shift
Houtan Bastani 2013-11-22 17:55:57 +01:00
parent 69caa7ec03
commit 7af47e1e9f
1 changed files with 2 additions and 2 deletions

View File

@ -140,7 +140,7 @@ switch nargin
ts.vobs = length(varlist); ts.vobs = length(varlist);
ts.nobs = size(data,1); ts.nobs = size(data,1);
if isempty(tex) if isempty(tex)
ts.tex = name2tex(varlist,1); ts.tex = name2tex(varlist);
else else
ts.tex = tex; ts.tex = tex;
end end
@ -150,7 +150,7 @@ switch nargin
ts.freq = 1; ts.freq = 1;
ts.init = dates(1,1); ts.init = dates(1,1);
ts.name = default_name(ts.vobs); ts.name = default_name(ts.vobs);
ts.tex = name2tex(ts.name,1); ts.tex = name2tex(ts.name);
end end
case {2,3,4} case {2,3,4}
a = varargin{1}; a = varargin{1};